Bug 31554 - Sorting of acquisition info appears to be broken
Summary: Sorting of acquisition info appears to be broken
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Serials (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on: 20726
Blocks:
  Show dependency treegraph
 
Reported: 2022-09-13 11:06 UTC by Katrin Fischer
Modified: 2022-09-14 07:35 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2022-09-13 11:06:33 UTC
According to the notes on bug 20726 the acquisition details for subscriptions should sort by status (open/pending) first and then by ordernumber. 

The first appears to work, but the second doesn't. Looking at the subscription details of a record with all status being 'complete' the secondary sorting doesn't appear to work.

In the column order number, we see:

1683
948
2095

So it doesn't appear to sort alphabetically either.

In the column basket we have

2... (603)
B... (328)
2... (774)

So neither works.
Comment 1 Joonas Kylmälä 2022-09-13 18:11:43 UTC
I'm guessing a regression or intended changed from "Bug 21467: Add treetable to subscription detail to group orders by parent ordernumber"
Comment 2 Katrin Fischer 2022-09-14 07:35:27 UTC
You are probably right, Joonas, but I wonder how we could improve sorting again. Right now I can not see any type of sorting, if all the status are 'complete'. Some kind of chronologically sorting would be nice - maybe by order date?