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

--- Comment #484 from David Cook <[email protected]> ---
My upstream Koha test plan:
__Setup__
0. koha-upgrade-schema kohadev
1. koha-plack --restart kohadev
2. prove t/db_dependent/Koha/Holds.t t/db_dependent/Reserves/HoldGroup.t
3. Enable "DisplayAddHoldGroups" system preference

__OPAC results__
1. Go to
http://localhost:8080/cgi-bin/koha/opac-search.pl?idx=&q=test&weight_search=1
2. Checkbox results "Gairm" and "Clean code"
3. Click "Place hold" at the top of the search results
4. Checkbox "Treat as hold group (next available item fulfills all holds)"
5. Click "Confirm hold"
6. Go to http://localhost:8080/cgi-bin/koha/opac-user.pl
7. Click "Holds" 
8. Confirm the two holds appear with the text "part of a hold group",
and when you click on that text it shows you both hold group titles
9. Note the "Holds" tab shows 1 hold signifying the 2 holds in the hold group
count as 1 hold total
NOTE: Currently, within the table it says "Holds (2 total)" as there are 2 hold
rows...

10. In the staff interface, check in "39999000001310"
11. Click "Confirm hold (Y)"
12. Go to
http://localhost:8081/cgi-bin/koha/circ/circulation.pl?borrowernumber=51
13. Note only 1 hold appears, and when you click on "part of a hold group" it
only shows 1 hold title
FIXME: The modal close buttons are currently broken 
FIXME: The modal also doesn't look quite right...

12. In the OPAC, go to http://localhost:8080/cgi-bin/koha/opac-user.pl
13. Note that only 1 hold appears now 
14. Go to
http://localhost:8081/cgi-bin/koha/circ/circulation.pl?borrowernumber=51
15. Cancel the hold

__Staff interface results__
1. Go to http://localhost:8081/cgi-bin/koha/catalogue/search.pl?q=test
2. Checkbox results "Gairm" and "Clean code"
3. Click "Place hold" at the top of the search results
4. Search for patron "koha" and choose the one with card 42
5. Check box "Treat as hold group"
6. Choose "Centerville" as "Pickup location"
NOTE: Trying to choose "Pickup at" doesn't seem to work. You have to specify
individual "Pickup location"
7. Click "Place holds"
8. Click on "part of a hold group" on the each hold and note the modal with
"Hold group" appears showing the 2 titles
FIXME: The modal close buttons are currently broken 
FIXME: The modal also doesn't look quite right...
9. Check in "39999000001310"
10. Click "Confirm hold (Y)"
11. Go to
http://localhost:8081/cgi-bin/koha/circ/circulation.pl?borrowernumber=51
12. Cancel the hold

__OPAC detail__
TODO: Now that bug 15565 is pushed we can revisit this (using syspref
DisplayMultiItemHolds)
NOTE: I have local code for this that I'll upstream...

__Staff interface detail__
TODO: Now that bug 15565 is pushed we can revisit this (using syspref
DisplayMultiItemHolds)
NOTE: I have local code for this that I'll upstream...

__Staff interface (OTHER)__
1. Go to
http://localhost:8081/cgi-bin/koha/circ/view_holdsqueue.pl?branchlimit=CPL&itemtypeslimit=&ccodeslimit=&locationslimit=&run_report=1
FIXME: This returns a 500 error
NOTE: I have this working locally...

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