[Koha-bugs] [Bug 39930] Saved configuration states on tables cause extra columns to show

2025-09-02 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39930

--- Comment #7 from Jonathan Druart  ---
(In reply to Jason Robb from comment #6)
> (In reply to Andrew Fuerste-Henry from comment #5)
> > Jason, would you be amenable to re-focusing this bug on just the acq orders
> > table issue that Jonathan has recreated and patched?
> 
> It's cool with me if it helps the fix for the orders table move along.
> 
> I did go through the steps I listed in my original bug report with an
> up-to-date ktd and it's still happening for me on the checkouts table. I did
> steps 1-3, then left it overnight and when I pulled the table up in the
> morning the extra columns had appeared.
> 
> Not sure if its related but I noticed in the DataTables documentation that
> the default value for stateDuration is 7200 so maybe 2 hours is the minimum
> amount of time that needs to elapse between steps 3 and 4 to see the issue?

Good catch, I have tried to set it to 60s and I do recreate the problem easily
now.
I will be back here soon.

I think the only solution would be to extend the stateDuration value.

-- 
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/


[Koha-bugs] [Bug 39930] Saved configuration states on tables cause extra columns to show

2025-08-12 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39930

--- Comment #6 from Jason Robb  ---
(In reply to Andrew Fuerste-Henry from comment #5)
> Jason, would you be amenable to re-focusing this bug on just the acq orders
> table issue that Jonathan has recreated and patched?

It's cool with me if it helps the fix for the orders table move along.

I did go through the steps I listed in my original bug report with an
up-to-date ktd and it's still happening for me on the checkouts table. I did
steps 1-3, then left it overnight and when I pulled the table up in the morning
the extra columns had appeared.

Not sure if its related but I noticed in the DataTables documentation that the
default value for stateDuration is 7200 so maybe 2 hours is the minimum amount
of time that needs to elapse between steps 3 and 4 to see the issue?

-- 
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/


[Koha-bugs] [Bug 39930] Saved configuration states on tables cause extra columns to show

2025-08-11 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39930

Andrew Fuerste-Henry  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #5 from Andrew Fuerste-Henry  ---
Jason, would you be amenable to re-focusing this bug on just the acq orders
table issue that Jonathan has recreated and patched?

-- 
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/


[Koha-bugs] [Bug 39930] Saved configuration states on tables cause extra columns to show

2025-07-25 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39930

Jonathan Druart  changed:

   What|Removed |Added

 Status|Needs Signoff   |In Discussion

--- Comment #4 from Jonathan Druart  ---
On the orders table the issue appears because we show/hide columns depending on
some conditions (sysprefs or if the basket is closed/opened). DataTables cannot
correctly restore the state because the number of columns stored in
localStorage is different than the one we have one the table.

The orders table is, I think, fixed by this patch.

However I don't recreate the problem with the checkouts or reports. Could do
try in a sandbox and provide a clear test plan to recreate the problem? Or give
me another table where the problem appears?

-- 
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/


[Koha-bugs] [Bug 39930] Saved configuration states on tables cause extra columns to show

2025-07-25 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39930

--- Comment #3 from Jonathan Druart  ---
Created attachment 184625
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=184625&action=edit
Bug 39930: Fix SaveState on the orders table

Test plan:
Open and close a basket

-- 
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/


[Koha-bugs] [Bug 39930] Saved configuration states on tables cause extra columns to show

2025-07-25 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39930

Jonathan Druart  changed:

   What|Removed |Added

 Status|ASSIGNED|Needs Signoff

-- 
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/


[Koha-bugs] [Bug 39930] Saved configuration states on tables cause extra columns to show

2025-07-24 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39930

Jonathan Druart  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
   Assignee|[email protected] |[email protected]
   |ity.org |
   Severity|trivial |major
 CC||[email protected]

--- Comment #2 from Jonathan Druart  ---
I do recreate the problem on the orders table.

When a basket is closed we lost 2 columns, DataTables cannot restore the state
we previously stored (in localStorage) and use a default state: all columns
displayed.

I have not tried what Jason described on comment 0, but I guess it's a similar
problem.

It seems to be not trivial, at first glance I don't think we will be able to
fix this globally, we will have to adjust the tables one by one. We will
certainly one bug report per table.

I was not aware of this bug, sorry to have missed it!

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
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/


[Koha-bugs] [Bug 39930] Saved configuration states on tables cause extra columns to show

2025-06-24 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39930

Roman Dolny  changed:

   What|Removed |Added

 CC||[email protected]

-- 
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/


[Koha-bugs] [Bug 39930] Saved configuration states on tables cause extra columns to show

2025-06-24 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39930

[email protected] changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #1 from [email protected] ---
We saw this in Acquisitions. When we search for Orders for a particular vendor,
it shows a list of baskets. If you click on and open a basket, it correctly
displays the orders table with the columns reflecting what is set up in
Configuration.
If you back arrow to get back to your list and select another basket, the
columns remain correct.
However, while you have a basket open, if you click on "Reopen basket", the
Orders table displays with ALL the columns, even the ones selected to hide.
From that point on, it continues to show all the columns no matter what baskets
I pull up. You have to log out of Koha and back in to get the columns to reset
back to what's in Configuration. 
Unchecking Save configuration state on page change prevents the problem from
happening.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
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/


[Koha-bugs] [Bug 39930] Saved configuration states on tables cause extra columns to show

2025-06-05 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39930

David Nind  changed:

   What|Removed |Added

 CC||[email protected]

-- 
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/