Bug 35876 - Cannot sort already received table on reopening invoice
Summary: Cannot sort already received table on reopening invoice
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Acquisitions (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-23 14:46 UTC by Nick Clemens (kidclamp)
Modified: 2024-01-31 21:00 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Clemens (kidclamp) 2024-01-23 14:46:11 UTC
To recreate:
1 - Place at least 4 orders in a basket
2 - Close the basket
3 - Receive two orders on an invoice
4 - In the 'Already Received' click sort on different columns, confirm they sort
5 - Note the current sort and click 'My Vendor' in the breadcrumbs
6 - Click 'Receive shipments'
7 - Click on the previous invoice
8 - Note 'Already received' retained last sort
9 - Attempt to sort - nothing happnes
10 - In browser console (F12) go to Store->Local Storage->{Koha host}
11 - Note two values, find the 'Datatables_receivedt_'
12 - Delete that entry
13 - Reload page
14 - You can sort again
Comment 1 Lucas Gass 2024-01-31 20:30:25 UTC
(In reply to Nick Clemens from comment #0)
> To recreate:
> 1 - Place at least 4 orders in a basket
> 2 - Close the basket
> 3 - Receive two orders on an invoice
> 4 - In the 'Already Received' click sort on different columns, confirm they
> sort
> 5 - Note the current sort and click 'My Vendor' in the breadcrumbs
> 6 - Click 'Receive shipments'
> 7 - Click on the previous invoice
> 8 - Note 'Already received' retained last sort
> 9 - Attempt to sort - nothing happnes
> 10 - In browser console (F12) go to Store->Local Storage->{Koha host}
> 11 - Note two values, find the 'Datatables_receivedt_'
> 12 - Delete that entry
> 13 - Reload page
> 14 - You can sort again

I recreate this all the way to step 14. At that point I am still unable to sort.
Comment 2 Lucas Gass 2024-01-31 21:00:07 UTC
If I try using any of the dataTable controls/filters/pagination and then sort, it works.