[Koha-bugs] [Bug 15516] Allow to place a hold on first available item from a group of titles

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 1 07:57:14 CEST 2021


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

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |In Discussion

--- Comment #335 from David Cook <dcook at prosentient.com.au> ---
Test plan setup: 
0a. Apply the patch
0b. perl ./installer/data/mysql/updatedatabase.pl
0c. perl misc/devel/update_dbix_class_files.pl --koha-conf
/etc/koha/sites/kohadev/koha-conf.xml
0d. restart_all

Test: Create a hold group from a group of items
1. Go to intranet search, display some results, click on the first 2 checkboxes
and click on 'Place hold' button at the top of the results.
(e.g. http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=test)
2. Search for the "koha" patron (cardnumber 42)
3a. Check the 'Treat as hold group' checkbox
3b. Set pickup location for each item
4. Click on 'Place hold'
5. In the next screen you should see all the holds you placed with the
additional text '(part of a hold group)' in Details column.
6. Click on the "hold group" link. A modal window should appear with
the content of the hold group (a list of holds)
Result: PASS

Test: Hold groups count as 1 hold (maxreserves)
1. Change maxreserves to 2
2. Go to
http://localhost:8081/cgi-bin/koha/reserve/request.pl?borrowernumber=51&biblionumber=134
3. Note that it says "koha can only place a maximum of 2 total holds"
4. Change maxreserves to 50
Result: FAIL

Test: Hold groups count as 1 hold ("Holds allowed (total)")
1. Go to http://localhost:8081/cgi-bin/koha/admin/smart-rules.pl
2. Change "Holds allowed (total)" to 2
3. Go to
http://localhost:8081/cgi-bin/koha/reserve/request.pl?borrowernumber=51&biblionumber=134
4. Note that it says "koha can only place a maximum of 2 total holds"
5. Change "Holds allowed (total)" to unlimited (by entering a blank value)
Result: FAIL

Test: Hold groups count as 1 hold ("Holds allowed (daily)")
1. Go to http://localhost:8081/cgi-bin/koha/admin/smart-rules.pl
2. Change "Holds allowed (daily)" to 2
3. Go to
http://localhost:8081/cgi-bin/koha/reserve/request.pl?borrowernumber=51&biblionumber=134
4. Note it says "No items are available to be placed on hold" and near the
bottom of the screen each item says "Daily hold limit reached for patron"
Result: FAIL

Test: Hold groups count as 1 hold (Patron view)
1. Go to
http://localhost:8081/cgi-bin/koha/members/moremember.pl?borrowernumber=51
2. Note that 2 holds are listed, although each hold is listed as "part of a
hold group" (and the links to that hold group are for the same hold group)
Result: FAIL

Test: Hold groups count as 1 hold (Circulation view)
1. Go to
http://localhost:8081/cgi-bin/koha/circ/circulation.pl?borrowernumber=51
2. Note that 2 holds are listed, although each hold is listed as "part of a
hold group" (and the links to that hold group are for the same hold group)
Result: FAIL

Test: Hold groups count as 1 hold (OPAC home page view)
1. Go to http://localhost:8080/
2. Note that the screen says "2 holds pending"
Result: FAIL

Test: Hold groups count as 1 hold (OPAC user page view)
1. Go to http://localhost:8080/cgi-bin/koha/opac-user.pl#opac-user-holds 
2. Note that the screen says "2 holds" without any indication of them being
part of the same hold group
Result: FAIL

Test: Hold groups count as 1 hold (OPAC place hold view)
1. Go to http://localhost:8080/cgi-bin/koha/opac-reserve.pl?biblionumber=134
2. Note that the screen says "There are no items that can be placed on hold"
Result: FAIL

Test: Hold groups are disbanded when 1 hold in the group is fulfilled
1. Check in an item of one of the reserved biblios and confirm the hold
(e.g. Check in 39999000001310 )
8. The hold status is changed to Waiting, and all other holds in the hold group
are deleted.
Result: PASS

Note: 
The "hold group" link is displayed in the following pages:
- reserve/request.pl
- circ/circulation.pl
- members/moremember.pl
- circ/pendingreserves.pl

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


More information about the Koha-bugs mailing list