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

--- Comment #25 from Baptiste Wojtkowski (bwoj) 
<[email protected]> ---
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.
_______________________________________________
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