[GeoNode-users] Limit amount of people results

Toni Schönbuchner toni.schoenbuchner at csgis.de
Thu Jul 13 01:16:08 PDT 2017


Dear Naresh,

sorry, please ignore what I´ve written below.After a second look I don´t think it will work as the angular module is
initated before. Means the second way, changing the search script to your
needs might be the way to go.

cheers,

toni

> Anfang der weitergeleiteten Nachricht:
> 
> Von: geonode-users-request at lists.osgeo.org
> Betreff: geonode-users Digest, Vol 30, Issue 50
> Datum: 13. Juli 2017 um 08:25:39 MESZ
> An: geonode-users at lists.osgeo.org
> Antwort an: geonode-users at lists.osgeo.org
> 
> from a quick look it´s the same angular controller for both api requests.
> Means all use the same max var. If you like to have the amount different
> on peoples page only you could give a try to override
> this variable in the peoples template. From naming I think it should be
> profile_list.html
> 
> here I would try to add a new var after line 28
> https://github.com/GeoNode/geonode/blob/master/geonode/people/templates/people/profile_list.html#L28 <https://github.com/GeoNode/geonode/blob/master/geonode/people/templates/people/profile_list.html#L28><https://github.com/GeoNode/geonode/blob/master/geonode/people/templates/people/profile_list.html#L28 <https://github.com/GeoNode/geonode/blob/master/geonode/people/templates/people/profile_list.html#L28>>
> 
> <script type="text/javascript">
>   CLIENT_RESULTS_LIMIT = 10;
> </script>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170713/f77ec205/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170713/f77ec205/attachment.sig>


More information about the geonode-users mailing list