[Koha-bugs] [Bug 27082] Problem when a basket has more of 20 orders with uncertain price

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 24 12:23:15 CET 2020


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

--- Comment #2 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 113940
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113940&action=edit
Bug 27082: (bug 23013 follow-up) Remove pagination from uncertain prices

When more than 20 orders with uncertain prices are displayed on the
"uncertain prices" view, the pagination is displayed and will cause data
loss if the form is submitted.

The pagination is there since:
  commit 247dca306407ac9568344a0a37aca3bbcffc2468
  Bug 23013: Upgrade DataTables in the staff client

What's happening:
When the form is submitted, all the orders with uncertain price are processed,
but the posted values only contain the ones from the first page of the table.
The orders that are not displayed on the first page will have their prices
fields and uncertainprice set to NULL.

Test plan:
1- create a basket
2- add more of 20 orders with uncertain price
3- click on uncertain price button
4- click on save button
=> There is no more pagination and the form behaves correctly

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


More information about the Koha-bugs mailing list