---- Reported by jwagner@ptfs.com 2009-09-04 13:33:39 ---- The search facets do not always display in the same order (e.g., Author, Topic, Series, etc.), but it's not clear what controls the order they do show in. In discussion on the IRC today, it was first thought that the category with the fewest number of entries would display first, but upon further investigation that did not seem to be the case. I poked around in the template file and in Koha.pm and Search.pm, but could not figure out what controls the order. I think libraries should be given the option to specify the order of the categories, so that, for example, Author would always be first, Topic second, Series third, etc. --- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:12 UTC --- This bug was previously known as _bug_ 3580 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3580 Unknown operating system Windows 2000. Setting to default OS "All". Actual time not defined. Setting to 0.0 The original reporter of this bug does not have an account here. Reassigning to the person who moved it here: chris@bigballofwax.co.nz. Previous reporter was jwagner@ptfs.com.
Created attachment 3208 [details] [review] Sort the facets categories so they don't move every search. Initial patch that sorts the facets by their "expand" value so they don't move every search. There's plenty of room for improvement.
Created attachment 4075 [details] [review] patch signed-off
Simple patch to read, marking as passed QA
Pushed and merged to master, please test
Looks good to me. Marking fixed.