Bugzilla – Attachment 190496 Details for
Bug 41449
Reserves.t may fail when on shelf holds are restricted
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41449: Reserves.t - fix description and assumption for onshelfholds
Bug-41449-Reservest---fix-description-and-assumpti.patch (text/plain), 1.26 KB, created by
Marcel de Rooy
on 2025-12-15 11:38:03 UTC
(
hide
)
Description:
Bug 41449: Reserves.t - fix description and assumption for onshelfholds
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2025-12-15 11:38:03 UTC
Size:
1.26 KB
patch
obsolete
>From 901d4985090748e81ffa0b8f3ebed96dbd7a090d Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Mon, 15 Dec 2025 12:29:52 +0100 >Subject: [PATCH] Bug 41449: Reserves.t - fix description and assumption for > onshelfholds >Content-Type: text/plain; charset=utf-8 > >Test plan: >prove t/db_dependent/Reserves.t > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Reserves.t | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Reserves.t b/t/db_dependent/Reserves.t >index 33a99d714e..c10d08d4d9 100755 >--- a/t/db_dependent/Reserves.t >+++ b/t/db_dependent/Reserves.t >@@ -1483,9 +1483,15 @@ subtest 'IsAvailableForItemLevelRequest() tests' => sub { > value => { itemtype => $item_type } > } > ); >+ Koha::CirculationRules->set_rules( >+ { >+ categorycode => '*', itemtype => '*', branchcode => '*', >+ rules => { onshelfholds => 1 } >+ } >+ ); > ok( > C4::Reserves::IsAvailableForItemLevelRequest( $item, $patron ), >- "Item not available for item-level hold because no effective item type" >+ "Item available for item-level hold because defined effective item type" > ); > > Koha::CirculationRules->set_rules( >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41449
: 190496