[Koha-bugs] [Bug 33490] Agreements - Filter by expired results in error

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Apr 13 16:30:22 CEST 2023


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

Jonathan Druart <jonathan.druart+koha at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #12 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
I've noticed when reading the tests that something is not totally correct.

+        cy.url().should('include',
"/cgi-bin/koha/erm/agreements?by_expired=true"); // Browser url also updated

It should contain max_expiration_date here.

The problem is the following:
Go to /cgi-bin/koha/erm/agreements
Tick "Filter by expired"
Click "Filter"

New route is "/cgi-bin/koha/erm/agreements?by_expired=true"
Input date is filled with today

Click "Filter" again
New route is
"/cgi-bin/koha/erm/agreements?by_expired=true&max_expiration_date=2023-04-13"

The date should be in the URL directly.

Anybody who'd take a look at it?

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


More information about the Koha-bugs mailing list