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

--- Comment #3 from Slava Shishkin <[email protected]> ---
(In reply to Jonathan Druart from comment #2)
> Hum I thought we fixed this problem with bug 40753.
> 
> I will have a look at your patch later.

Bug 40753 didn’t cover this case. It didn’t touch acqui/basket.tt nor the last
two TT-conditional columns of the Orders table. 

DataTables caches .visible in localStorage (DataTables_acqui_basket_orders) and
reuses it across baskets; when switching open ↔ closed, the cached flags
override current TT conditions, so Modify/Cancel order end up missing or shown
incorrectly.

This patch synchronizes only columns [21] and [22] in the cached state on load
to match TT logic (active && !closedate and !closedate ||
CancelOrdersInClosedBaskets). 

Repro in KTD still fails with 40753 applied; after this patch, it’s consistent.

-- 
You are receiving this mail because:
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