1

Topic: Records not sorted

Bearing this in mind, https://forums.nbn.org.uk/viewtopic.php?id=7038, it seems that sorting by record date isn't actually working:

https://records.nbnatlas.org/occurrence … mp;dir=asc

I'm getting:
1973
1969
1736
1956
...

when sorted by record date asc (see also attached).

Post's attachments

Capture.JPG 64.85 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.
Charlie Barnes
Information Officer
Greater Lincolnshire Nature Partnership

2

Re: Records not sorted

Oh I've realized why - paging the results is causing the &dir=asc to drop from the url

Charlie Barnes
Information Officer
Greater Lincolnshire Nature Partnership

3

Re: Records not sorted

Thanks Charlie, I've added this to the github issue.

Sophie

4

Re: Records not sorted

I'm still having problems sorting records by record date i.e. they're not being

see e.g. https://records.nbnatlas.org/occurrence … rence_date

Charlie Barnes
Information Officer
Greater Lincolnshire Nature Partnership

5 (edited by charliebarnes 09-01-2020 14:16:11)

Re: Records not sorted

I think this is a different but related issue - if I try to sort this query:

https://records.nbnatlas.org/occurrence … %221902%22

by date ascending (using the drop down) the query gets truncated and returns the wrong set of results.

Charlie Barnes
Information Officer
Greater Lincolnshire Nature Partnership

6

Re: Records not sorted

Thanks Charlie,

That's an old problem that must have resurfaced.

Thanks for letting me know, Sophie

7

Re: Records not sorted

This is now fixed. Sorting the list of records no longer truncates the querystring.

Thanks, Sophie

8

Re: Records not sorted

Thanks Sophie - seems to be working fine.

Charlie Barnes
Information Officer
Greater Lincolnshire Nature Partnership