_metadata_search doesn't support CSW sorting
The metadata search functions doesn't seem to support CSW sorting.
@tomkralidis is this an issue still? Since we dont use CSW for the main search, this may just no longer be an issue. Please close if you can confirm that CSW sorting works from pycsw.
@jj0hns0n thanks for the info. @jaywhy13 pycsw supports sorting. More information can be found at http://pycsw.org/docs/introduction.html#supported-sorting-functionality
I know that pycsw supports sorting but from what I saw, the default listing on the search pages for layer and map just lists the layers from the first one uploaded. It would have been useful to list them instead by creation date in reverse order. I eventually just did up a view to do some kind of listing. Would have been useful though if we could just plug in some criteria to filter the layers. On Oct 14, 2012 9:02 PM, "Tom Kralidis" [email protected] wrote:
@jj0hns0n https://github.com/jj0hns0n thanks for the info. @jaywhy13https://github.com/jaywhy13pycsw supports sorting. More information can be found at http://pycsw.org/docs/introduction.html#supported-sorting-functionality
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/309#issuecomment-9430748.
Forgot the mist important part, I don't think the layer date is stored using pycsw. On Oct 14, 2012 9:16 PM, "[email protected]" < [email protected]> wrote:
I know that pycsw supports sorting but from what I saw, the default listing on the search pages for layer and map just lists the layers from the first one uploaded. It would have been useful to list them instead by creation date in reverse order. I eventually just did up a view to do some kind of listing. Would have been useful though if we could just plug in some criteria to filter the layers. On Oct 14, 2012 9:02 PM, "Tom Kralidis" [email protected] wrote:
@jj0hns0n https://github.com/jj0hns0n thanks for the info. @jaywhy13https://github.com/jaywhy13pycsw supports sorting. More information can be found at http://pycsw.org/docs/introduction.html#supported-sorting-functionality
— Reply to this email directly or view it on GitHubhttps://github.com/GeoNode/geonode/issues/309#issuecomment-9430748.
@jaywhy13 FYI the main search on GeoNode (dev branch) is using a built-in search component, and pycsw is used for those wanting access to a GeoNode site's metadata via CSW. Are you using dev branch?
As far as the layer date storing in pycsw, if you can provide a testcase I can reproduce, I will look into this and fix.