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

--- Comment #3 from Emmi Takkinen <[email protected]> ---
Created attachment 201426
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=201426&action=edit
Bug 42665: Add new column for holds patron expiration date in biblios holds
table

Currently holds expiration date set by patron is only viewable
from database and it can't be modified by staff users. Only
holds expiration date is displayed and can be modified from
staff interface, giving users and patrons impression that this
is the date when hold expires.

This patch adds new column "Expiration date set by patron" to
biblios holds table. Column can be modified if patrons has
new permission modify_holds_patron_expiration_date. Otherwise
expiration date is just displayed as text.

To test:
1. Apply this patch and restart services.
2. Log in as superlibrarian.
3. Find a biblio with holds and navigate to the biblios holds
page.
=> Note that there is a new column "Expiration date set by patron"
in table.
5. Change the value of the new column.
=> Confirm that the value was saved succesfully for the hold.
6. Find a staff user.
7. Make sure they have permission to view holds but not the permission
to modify holds patron expiration date.
8. Log in as this staff user.
9. Navigate to the biblios holds page.
=> Note that now column "Expiration date set by patron" can't be modified.
10. Add permission modify_holds_patron_expiration_date to the staff user.
=> Note that column can now be modified.

Sponsored-by: Koha-Suomi Oy

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