https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38122 --- Comment #25 from Baptiste Wojtkowski (bwoj) <baptiste.wojtkowski@biblibre.com> --- I could not have it sorting the items by status at all :) I faced three different issues : 1 - Since the function that creates the event is called by the event, I had an increasing number of calls to the API, without guarantee of the nature of the last one resolving 2 - Since group_by_status_values is reset at each resolution of the event $(".GroupByStatus").on("click"), I actually never sent the correct url to the API. 3 - WIth this fixed, the API was crashing, I had to change as follows - push @item_ids, $items_rs->search( { _status => $status } )->get_column('itemnumber'); + push @item_ids, $items_rs->search( { status => $status } )->get_column('itemnumber'); -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.