[GeoNode-users] Changing Default Search/Filter for Resource API

Simone Dalmasso simone.dalmasso at gmail.com
Wed Jun 3 13:58:25 PDT 2015


Yeah makes sense. Should also make sure that the default ordering is
respected in the template as well.

Il mercoledì 3 giugno 2015, John Jediny <john.jediny at gmail.com> ha scritto:

> Would it make sense to control this as a setting?
>
> On Wed, Jun 3, 2015 at 3:58 PM, Simone Dalmasso <simone.dalmasso at gmail.com
> <javascript:_e(%7B%7D,'cvml','simone.dalmasso at gmail.com');>> wrote:
>
>> Hi, here
>> https://github.com/GeoNode/geonode/blob/master/geonode/api/resourcebase_api.py#L510 and
>> in the others. Ciao
>>
>> 2015-06-03 21:30 GMT+02:00 John Jediny <john.jediny at gmail.com
>> <javascript:_e(%7B%7D,'cvml','john.jediny at gmail.com');>>:
>>
>>> Without having the time to investigate - what is the best way to go
>>> about changing Layer/Map/Documents (i.e. angular/haystack/resourcebase_api)
>>> to default to
>>> *order_by=-popular_count*
>>>
>>> instead of the default: *order_by=-date*
>>>
>>>
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> <javascript:_e(%7B%7D,'cvml','geonode-users at lists.osgeo.org');>
>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-users
>>>
>>>
>>
>>
>> --
>> Simone
>>
>
>
>
> --
> Cell: 973-931-0580
>
>

-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20150603/618a3e09/attachment.html>


More information about the geonode-users mailing list