[Koha-bugs] [Bug 13420] Holdings table sorting on volume information incorrect

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Apr 29 05:01:11 CEST 2019


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

--- Comment #15 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 88995
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=88995&action=edit
Bug 13420: Sort "Serial enumeration" by published date

So far the sorting on volume information is incorrect. It sorts by the
string displayed in the cell, which may not have any logics.

A better solution would be to use Kyle's suggestion, see comments 7, 8,
but it will need much more work.

This patch suggests to use the publication date to sort this column.
Note: In the code there is a switch depending on the existence of
items.publisheddate, but I do not think it is valid, this valid should
always exist if the item is received (did I miss something?)

Test plan:
You need to have different existing subscription, using different
numbering.
On the detail page of the bibliographic record you should be able to
sort the serials (tab "Holdings") by "Serial enumeration".
The sort will now use the publication dates.

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


More information about the Koha-bugs mailing list