[Koha-bugs] [Bug 34128] Series entry in the 490 field causes the ordering of items to change in the holdings table

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 27 11:56:46 CEST 2023


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

--- Comment #1 from Matt Blenkinsop <matt.blenkinsop at ptfs-europe.com> ---
Created attachment 152711
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=152711&action=edit
Bug 34128: Prevent holdings table from incorrectly ordering items

This patch stops the hildings table from incorrectly ordering books as serials

Test plan:
1) In cataloging, click on New record
2) Fill in all the required fields with generic data, ensuring that the 942c
field (Koha item type) is "Books"
3) In the 490a field - fill in any string as the Series statement
4) Click save
5) You should now be on the Add item page. We need to add 3+ items, making sure
that the Home and Current libraries for each item are in reverse alphabetical
order.
e.g.
Item 1:
 - Home library: Midway
 - Current library: Midway
Item 2:
 - Home library: Fairview
 - Current library: Fairview
Item 1:
 - Home library: Centerville
 - Current library: Centerville
6) In the top searchbar, find your new item that you have just added
7) On the item detail page, the holdings table will be displaying the items in
reverse alphabetical order by library rather than in alphabetical order as it
should be by default.
8) Apply patch
9) Refresh the item detail page -  the items should now be correctly ordered.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list