http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15486 Bug ID: 15486 Summary: Restrict number of holds placed by day Change sponsored?: Seeking cosponsors Product: Koha Version: master Hardware: All URL: http://devs.bywatersolutions.com/projects/restrict-num ber-of-holds-placed-by-day/ OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Hold requests Assignee: koha-bugs@lists.koha-community.org Reporter: nengard@gmail.com QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com For example: A patron is allowed to place 5 holds (or other variable number set by the library) per day but can not exceed 30 holds (set by circ rules). Work to be done: 1) Add new database column reservesallowed_daily to the table issuingrules 2) Add new database column “created_on” to the table reserves 3) Modify C4::Reserves::AddReserve to populate “created_on” with the current timestamp 4) Add new column “Holds allowed (daily)” to the circulation and fine rules. 5) Modify “Holds allowed (count)” to “Holds allowed (total)” for clarity 6) Modify CanItemBeReserved to check if max daily holds has been exceeded If so, it must return new error code ‘TooManyReservesToday’ 7) Modify all code calling CanItemBeReserved to handle this new error code 8) Add unit tests for new CanItemBeReserved behavior Seeking Co-Sponsors: http://devs.bywatersolutions.com/projects/restrict-number-of-holds-placed-by... -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.