https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36947

--- Comment #71 from David Cook <[email protected]> ---
My test plan (before patch):
- Go to http://localhost:8081/cgi-bin/koha/catalogue/detail.pl?biblionumber=29
- Add 700 entries for the following list of authors:
    - Aa author
    - Åa author2
    - aa author
    - étienne
- Go to http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=test
- Note following sort order of Authors facet:
    Aa author
    aa author
    Farley, David
    Humble, Jez
    Martin, Robert C.
    Åa author2
    étienne

My test plan:
- Apply patch
- koha-upgrade-schema kohadev
- service koha-common restart
- Go to
http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=SearchEngine
- Confirm that the SearchEngine syspref is set to "Zebra"
- Go to
http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=FacetSortingLocale
- Note that entries appear in the dropdown list for "FacetSortingLocale"
including:
    - Default Unicode collation
    - English (United States) - en_US.utf8
    - French (France) - fr_FR.utf8
- Go to http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=test
- Note following sort order of Authors facet:
    aa author
    Aa author
    Åa author2
    étienne
    Farley, David
    Humble, Jez
    Martin, Robert C.

- Go to
http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=SearchEngine
- Change SearchEngine syspref to "Elasticsearch"
- service koha-common restart
- koha-elasticsearch --rebuild kohadev -v
- Go to http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=test
- Note following sort order of Authors facet:
    aa author
    Aa author
    Åa author2
    étienne
    Farley, David
    Humble, Jez
    Martin, Robert C.

- Change the "FacetSortingLocale" from "Default Unicode collation"
to "English (United States) - en_US.utf8" and retry search
- Note the sort order is same as "Default Unicode collation"
- Change the "FacetSortingLocale" from "Default Unicode collation"
to "French (France) - fr_FR.utf8" and retry search
- Note the sort order is same as "Default Unicode collation"

Advanced test plan w/ patch:
- After running through "My test plan" (as above)
- vi /etc/locale.gen
- Uncomment the locale you want to generate (e.g. fi_FI.UTF-8 UTF-8)
- locale-gen
- Go to
http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=FacetSortingLocale
- Note that "Finnish (Finland) - fi_FI.utf8" now appears
- Choose that locale and save
- Go to http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=test
- Note following sort order of Authors facet:
    aa author
    Aa author
    étienne
    Farley, David
    Humble, Jez
    Martin, Robert C.
    Åa author2
- Go to
http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=SearchEngine
- Change back to "Zebra" and save
- Note following sort order of Authors facet:
    aa author
    Aa author
    étienne
    Farley, David
    Humble, Jez
    Martin, Robert C.
    Åa author2

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to