[Koha-bugs] [Bug 32563] Reservedate becomes expirationdate in some cases

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 23 14:41:34 CET 2023


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

Biblibre Sandboxes <sandboxes at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #145003|0                           |1
        is obsolete|                            |

--- Comment #2 from Biblibre Sandboxes <sandboxes at biblibre.com> ---
Created attachment 145573
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=145573&action=edit
Bug 32563: HOTFIX: reservedate becomes expirationdate in some cases

To reproduce:
1. Go to
/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=DefaultHoldExpirationdate
2. Setup default expiration date to be 1 year from reserve date for example.
3. Switch to catalog to any biblio with item for example
/cgi-bin/koha/catalogue/detail.pl?biblionumber=1 and place a hold for any
borrower.
4. Check holds for this item, as by example
/cgi-bin/koha/reserve/request.pl?biblionumber=1
5. Observe the field "Date" contains the same date as the "Expiration" which is
wrong and both contains date 1 year in the future. "Date" should have a date
the reservation made, i.e. now.
6. Apply the patch.
7. Make another hold, i.e. repeat steps 3-5
8. Observe the field "Date" contains correct date (today) but the "Expiration"
date is 1 year in the future as set is step 2.

Signed-off-by: Amaury GAU <amaury.gau at bulac.fr>

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


More information about the Koha-bugs mailing list