Bug 38852 - Make "Default holds policy by item type" work when record have also other item types than rule's given item type
Summary: Make "Default holds policy by item type" work when record have also other ite...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-09 07:33 UTC by Kati Sillgren
Modified: 2025-01-09 07:33 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kati Sillgren 2025-01-09 07:33:23 UTC
admin/smart-rules.pl
Default holds policy by item type

Default hold policy by item type doesn't work when records all items don't have rule's given item type.

For example

Default holds policy by item type
 Item type = A
 Hold policy = From any library
 Hold picup library match = item's home library 
 Return policy = item returns home


Record
- record has item with item type A and item with item type B
- item type A is the same as rule's given item type
- you place a hold 
  Pickup at - all pickup libraries are shown and any of them is chooseable. You can even choose library that is not item's home library