[Koha-bugs] [Bug 31579] Improve reserve/request.pl to avoid mistakes with pick up locations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 17 14:10:49 CEST 2023


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

PTFS Europe Sandboxes <sandboxes at ptfs-europe.com> changed:

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

--- Comment #10 from PTFS Europe Sandboxes <sandboxes at ptfs-europe.com> ---
Created attachment 154550
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=154550&action=edit
Bug 31579: Improve reserve/request.pl to avoid mistakes with pick up locations

This patch improve the behavior of the intranet reservation page
cgi-bin/koha/reserve/request.pl
It ensures that when you change the 'pickup at' value in the 'Hold details'
section, the 'Allowed pickup locations' values of each item are also changed
(in the table)

Prerequisites

     have 3 different branches (libraries)
         library A - logged in library, the one used to log into the intranet
by the employee
         library B - item's home library
         library C - item's holding library found in the file of the user who
will have the reservation

     have a record with multiple copies
         create one item for each library A, B, C with homebranch =
holdingbranch (with barcode)

Test plan

     1- Find a user record
     2- Change the user library (put library C) and Save
     3- Find the notice
     4- Click on 'Place Hold'
     5- Enter user name
     6- Check the 'pickup at' field of the top section and those in the coluumn
'Allowed pickup locations'
     7- Change the library of the top 'pickup at' field
     8- Check the 'Allowed pickup locations' of each item
     9- Notice that the 'Allowed pickup locations' columns are not adjusted
     10- Apply the path
     11- Repeat step 3,4,5,6,7,8
     12- Notice that all the 'Allowed pickup locations' columns are now
adjusted and are the same that the selected 'pickup at' field

Signed-off-by: Anneli Österman <anneli.osterman at koha-suomi.fi>

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


More information about the Koha-bugs mailing list