1802aa9153
C4::Reserves: * Added OnShelfHoldsAllowed() to check issuingrules * Added OPACItemHoldsAllowed() to check issuingrules * IsAvailableForItemLevelRequest() changed interface, now takes $item_record,$borrower_record; calls OnShelfHoldsAllowed() opac/opac-reserve.pl and opac/opac-search.pl: * rewrote hold allowed rule to use OPACItemHoldsAllowed() * also use OnShelfHoldsAllowed() through * IsAvailableForItemLevelRequest() templates: * Removed AllowOnShelfHolds and OPACItemHolds global flags, they now only have meaning per item type Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> I have tested this patch left, right and upside down for the last several months. All tests have passed. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com> |
||
---|---|---|
.. | ||
auth_val.sql | ||
auth_val.txt | ||
class_sources.sql | ||
class_sources.txt | ||
csv_profiles.sql | ||
csv_profiles.txt | ||
message_transport_types.sql | ||
message_transport_types.txt | ||
notices.sql | ||
notices.txt | ||
parameters.sql | ||
parameters.txt | ||
patron_categories.sql | ||
patron_categories.txt | ||
sample_creator_data.sql | ||
sample_creator_data.txt | ||
sample_frequencies.sql | ||
sample_frequencies.txt | ||
sample_holidays.sql | ||
sample_holidays.txt | ||
sample_itemtypes.sql | ||
sample_itemtypes.txt | ||
sample_news.sql | ||
sample_news.txt | ||
sample_notices_message_attributes.sql | ||
sample_notices_message_attributes.txt | ||
sample_notices_message_transports.sql | ||
sample_notices_message_transports.txt | ||
sample_numberpatterns.sql | ||
sample_numberpatterns.txt | ||
sample_quotes.sql | ||
sample_quotes.txt | ||
stopwords.sql | ||
stopwords.txt | ||
system_preferences.sql | ||
userflags.sql | ||
userflags.txt | ||
userpermissions.sql | ||
userpermissions.txt |