[GeoNode-users] geonode 2.4 dev layers not displayed: CLIENT_RESULTS_LIMIT = ;
Simone Dalmasso
simone.dalmasso at gmail.com
Sun May 3 23:38:05 PDT 2015
Hi Jesus, I cannot replicate this.
The CLIENT_RESULTS_LIMIT is defined in the settings as you said but also is
passed from the context_processor to the client see
https://github.com/GeoNode/geonode/blob/master/geonode/context_processors.py#L62
that
defaults it to 10 if not found in settings. And is used here
https://github.com/GeoNode/geonode/blob/master/geonode/templates/search/search_scripts.html#L26
.
All this is done server side so it should not be a javascript error. Did
you by the way changed in the template? Seems that the server is not
interpreting the {{ CLIENT_RESULTS_LIMIT }} and this could be caused by the
presence of a {% verbatim %} block around it.
2015-05-03 20:21 GMT+02:00 Jesus <gesusjl at gmail.com>:
> Hi all,
>
> Layers and maps not appear in geonode 2.4 dev.. firebug console raise an
> javascript error
>
> SyntaxError: expected expression, got ';'
>
> CLIENT_RESULTS_LIMIT = ;
>
>
> I tried uploading local_settings.py with
>
> CLIENT_RESULTS_LIMIT = 100
>
> but no result. Maybe a javascript bug or something else to check around?
>
> No apache errors
>
> Thank you,
>
> Jesús
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>
--
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150504/d02b2dfb/attachment.html>
More information about the geonode-users
mailing list