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

            Bug ID: 41410
           Summary: Allow definition of a period after hold creation
                    during which the hold is only filled locally
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Hold requests
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

Currently, with local holds priority enabled the holds queue will always target
an available local item if one exists; this preference is enforced before Koha
consults the transport cost matrix or thinks about the Hungarian algorithm.

This dev will:
- add a new field to tmp_holdsqueue: local priority match
- add a new system preference to enable this option and set days value for
local priority period
- local priority period is defined relative to when the hold was created
- when the queue targets an item, add the local priority match flag if the
target item is within the local holds group of the hold pickup location
- at checkin, if the item could fill a hold Koha will check:
-- is this item within the hold pickup group? If yes, fill hold; if no, proceed
to next check
-- is the hold within the local priority period? If no, fill hold; if yes,
proceed to next check
-- does the queue's current target have the local priority match flag? If no,
fill hold; if yes, do not fill hold (look for other holds this item could fill
or check item in)

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
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