Ok, I understand. But as since bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3154 we can choose the number of records used to build facets (pref maxRecordsForFacets), maybe for some (not all...) libraries it could be good to sort facets results by decreasing occurences order. Would you agree a syspref for that ? Regarding the facets themselves (not the results), I think they are sorted according to decreasing occurences order. That's why they are not always in the same order. It sounds strange for me. C4/Search.pm 515 for my $link_value ( 516 sort { $facets_counter->{$b} <=> $facets_counter->{$a} } 517 keys %$facets_counter ) Mathieu Saby Nicole Engard a écrit :
Facets used to be sorted on popularity, but that was confusing people because the numbers weren't showing. I did some Amazon and Kohls shopping this weekend and the facets were sorted alphabetically when it came to things like brands. The problem is that Koha doesn't use all pages of results to figure out the facets and popular sites do! So if we only use the first page of the results we can't show true popularity and so I think that's why it was changed to alphabetical a while back.
Nicole
On Mon, Nov 19, 2012 at 8:00 AM, Mathieu Saby <mathieu.saby@univ-rennes2.fr <mailto:mathieu.saby@univ-rennes2.fr>> wrote:
Hello Could some librairians and vendors tell me if they like the way Koha is sorting facets and facets results, on a UX point of view ?
Currently, - Results for each facets are sorted alphabeticly. - I can't explain the way factets (Authors, Title, Topics...) are sorted, maybe by popularity, but it is not always the same, depending of the request !
If we look at other catalogues, or non library websites (Amazon...), we don't see the same behavior. - Facets sorting does not change in the same catalogue - Facets results are sorted according to popularity (decrescent occurences), or sometime in a predefined order, sometime both, but never alphabeticly. (in amazon.com <http://amazon.com> , Author and Book series are sorted according to popularity order, but Departement and Format facets in a predefined order. cf. http://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3Dstripbooks&field-keywords=game <http://www.amazon.com/s/ref=nb_sb_noss_2?url=search-alias%3Dstripbooks&field-keywords=game> in worldcat, Content and Public in a predefined order, and the others by popularity : http://www.worldcat.org/search?qt=worldcat_org_all&q=proust <http://www.worldcat.org/search?qt=worldcat_org_all&q=proust> )
If you agree, I can make a patch for sorting facets results by popularity (easy to do) and sorting facets according to a defined order (more complicated for me but I will try...).
Regards, M. Saby Rennes 2 University
-- Mathieu Saby Service d'Informatique Documentaire Service Commun de Documentation Université Rennes 2 Téléphone : 02 99 14 12 65 Courriel : mathieu.saby@univ-rennes2.fr <mailto:mathieu.saby@univ-rennes2.fr>
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz <mailto:Koha@lists.katipo.co.nz> http://lists.katipo.co.nz/mailman/listinfo/koha
-- Mathieu Saby Service d'Informatique Documentaire Service Commun de Documentation Université Rennes 2 Téléphone : 02 99 14 12 65 Courriel : mathieu.saby@univ-rennes2.fr