<div dir="ltr">Ciao Dimitris, the ResourceBase autocomplete does not search on related objects like keywords or regions but there are dedicated autocomplete endpoints for regions and keywords . You would have to develop such functionality. see this file <a href="https://github.com/GeoNode/geonode/blob/2.6.x/geonode/base/autocomplete_light_registry.py">https://github.com/GeoNode/geonode/blob/2.6.x/geonode/base/autocomplete_light_registry.py</a></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-29 10:52 GMT+02:00 Dimitris Karakostis <span dir="ltr"><<a href="mailto:karakostis.dimitris@gmail.com" target="_blank">karakostis.dimitris@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div><br></div><div>I am interested in extending the Header Search of GeoNode so that it works also for keywords. Reading the thread here: <a href="https://goo.gl/At6r4l" target="_blank">https://goo.gl/At6r4l</a> I understand that the Header Search uses <span style="color:rgb(0,0,0);white-space:pre-wrap">autocomplete.</span></div><div><span style="color:rgb(68,68,68);font-family:roboto,helvetica,arial,sans-serif;font-size:13px">And actually it seems here ( </span><span style="color:rgb(68,68,68);font-family:roboto,helvetica,arial,sans-serif;font-size:13px"><a href="https://goo.gl/xAVjxh" target="_blank">https://goo.gl/xAVjxh</a> ) that the Regions and Keywords search along with the layer's title is activated. However when searching for specific keywords doesn't return anything back.</span><span style="color:rgb(0,0,0);white-space:pre-wrap"><br></span></div><div><font color="#444444" face="roboto, helvetica, arial, sans-serif">I've noticed when making a Search this is the URL sent: <a href="http://geonode.wfp.org/autocomplete/ResourceBaseAutocomplete/?q=test" target="_blank">http://geonode.wfp.org/<wbr>autocomplete/<wbr>ResourceBaseAutocomplete/?q=<wbr>test</a> . I am not sure if this URL apply for keywords or regions search - requests.</font></div><div><span style="color:rgb(68,68,68);font-family:roboto,helvetica,arial,sans-serif;font-size:13px"><br></span></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
geonode-devel mailing list<br>
<a href="mailto:geonode-devel@lists.osgeo.org">geonode-devel@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-devel" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/geonode-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>