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

            Bug ID: 38143
           Summary: Custom classification does not sort correctly in shelf
                    browser in OPAC
 Change sponsored?: ---
           Product: Koha
           Version: 24.05
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: System Administration
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected]

This is difficult to explain and replicate. So these are the steps taken and
results.

1. Create a custom classification source with code "boyden" with dewey filing
rule and dewey splitting rule. Records were updated with the custom
classification source.

When looking at the call numbers on the backend the call number sort looks like
this:

itemcallnumber: 14.3 .H673 T942 1956
quote(cn_source): 'boyden'
cn_sort: 143_H673T9421956

When using the shelf browser in the OPAC, titles were not sorting correctly. In
other words the titles were out of call number order. The example above shows
the sort was not properly accounting for the spaces.

2. To remedy the poor sorting, the custom classification source was deleted.
The existing description for the Dewey Classification was renamed to Boyden.
The "ddc" code, dewey filing, and dewey splitting rules were retained. Records
were updated to the renamed classification source. The backend now shows:

itemcallnumber: 14.3 .H673 T942 1956
quote(cn_source): 'ddc'
cn_sort: 14_300000000000000__H673_T942_1956

The shelf browser in the OPAC sorted the titles correctly by call number and
spaces were properly accounted for in the sort.

It appears in this scenario that a custom classification source with dewey
filing rules was not being properly applied to the call numbers.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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