[GeoNode-users] GET /h_keywords_api does not return the keywords
Chiara Sammarco
chiara.sammarco at geodatalab.it
Wed Dec 4 00:47:39 PST 2019
Hi again,
I just wanted to tell that I've found the new tables where the keywords are
stored: base_hierarchicalkeyword and base_taggedcontentitem
Once I repopulated those tables, the keywords appeared in the list.
Now the problems are the following:
- the keywords are shown only with the folder icons (even id there are no
children under them)
- the number of elements (layers or map) associated to a specific keyword
is not shown
- in the list (both in Maps and in Layers) all the keywords are shown (also
if there are no elements for that keyword).
Are these issues? Or am I supposed to do something else?
Thanks in advance for your help,
Chiara
On Mon, Dec 2, 2019 at 5:23 PM Chiara Sammarco <
chiara.sammarco at geodatalab.it> wrote:
> Hi all,
>
> My environment: SPCGeonode 2.0, Ubuntu 18.04
>
> Problem: geonode does not fetch from the database neither the keywords
> associated to the layers, nor those associated to the maps. So basically
> the following requests both return an empty array:
>
> GET /h_keywords_api?type=layer
> GET /h_keywords_api?type=map
>
> I've checked in the database and the keywords are presents in the taggit_tag
> and taggit_taggeditem tables.
> Do you have any suggestions what it could be and how I could fix this?
> Thanks in advance for your help,
>
> Chiara
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20191204/d11b6c2e/attachment.html>
More information about the geonode-users
mailing list