[Koha-bugs] [Bug 35310] Current renewals 'view' link doesnt work if renewals correspond to an item no longer checked out

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 17 01:42:32 CET 2023


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

--- Comment #17 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
(In reply to Katrin Fischer from comment #12)
> I was wondering: could it be this was the fallback? In old installations
> there was no table for the renewals, I believe the text displayed in this
> case when there are no entries int he renewals table, but renewals happened
> before the table was added.

(In reply to Katrin Fischer from comment #14)
> We are not even on a version with the table yet, I'd like to keep it then :)

So is it about backportability?

---

(In reply to Katrin Fischer from comment #16)
> I think in testing we need to make sure that there is no regression when
> there are no entries in the table, but the renewals count on the checkout is
> > 0 (maybe also needs a last renewed date if you are faking the data).

How should it be possible to get no entries in the table but renewals count on
the checkout > 0 ?

The table created like that, right?:

            var items = data.map(function(item) {
                return createLi(item);
            });

It's the same `data` as the previous `if (data.length < renewals)`. Or maybe
there is still a way to have the two compared values different?

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


More information about the Koha-bugs mailing list