[ckan-dev] Sorting bug?
David Read
david.read at hackneyworkshop.com
Mon Dec 29 10:24:35 UTC 2014
Andrew,
To sort organizations by title, there is a current pull request which does it:
https://github.com/ckan/ckan/pull/2086
David
On 23 December 2014 at 20:00, Koebrick, Andrew (MNIT)
<andrew.koebrick at state.mn.us> wrote:
> Ah, that does make sense. Thank you for the explanation. Now to figure out
> how to override the existing templates to make that the default behavior… I
> may be back to the list for assistance if I can’t figure it out myself.
>
>
>
> From: ckan-dev [mailto:ckan-dev-bounces at lists.okfn.org] On Behalf Of Matt
> Leduc
> Sent: Tuesday, December 23, 2014 12:58 PM
> To: CKAN Development Discussions
> Subject: Re: [ckan-dev] Sorting bug?
>
>
>
> Hi Andrew,
>
>
>
> The "name" referred to here is the dataset "name", not the title.
>
>
>
> When sorting in ascending order, the first dataset is
> 'atmos-1961-1990-mn-temp-average', while in descending order it's
> 'water-wild-and-scenic-rec-rivers'.
>
>
>
> It can be sorted by title_string if you'd rather sort it by the title, for
> example:
> https://gisdata.mn.gov/organization/us-mn-state-dnr?q=&sort=title_string+asc
>
>
>
> Matt
>
>
>
> On Tue, Dec 23, 2014 at 12:00 PM, Koebrick, Andrew (MNIT)
> <andrew.koebrick at state.mn.us> wrote:
>
> I am seeing odd behavior on our (and the demo) instance of CKAN. When
> looking at the list of full datasets, the user can sort by Name Ascending
> and Name Descending, and it seems to work as expected. However, if the user
> goes to Organizations first, then clicks on an organization, and then tries
> the same sort, there appears to be no logic to how they are displayed. You
> can see this at:
> https://gisdata.mn.gov/organization/us-mn-state-dnr?q=&sort=name+desc
> vs
> https://gisdata.mn.gov/organization/us-mn-state-dnr?q=&sort=name+asc
>
> Is this a bug, or am I misunderstanding what is supposed to be happening?
>
> Andrew Koebrick
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>
More information about the ckan-dev
mailing list