Nick Clemens
5590d09fe7
This adds a check for the preference OPACAcquisitionDetails and fetches the active orders for the item if necessary Additionally, we simply the check for biblio orders to use object methods and remove code that stored order information in the item_info To test: 1 - Enable preference: OPACAcquisitionDetails 2 - Create a basket with items created on order, add an order for a biblio, close the basket 3 - Create a second basket as above, add an order with multiple copies, leave basket open 4 - View biblio on opac 5 - You should see 1 item marked on order, and "1 items on order" below items table 6 - Close second basket 7 - Reload opac view, now 3 on order and in message 8 - Reopen first basket 9 - Reload opac view, now 2 on order and in message JK: Remove unused @itemnumbers_on_order variable Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> |
||
---|---|---|
.. | ||
account-table.inc | ||
accounts.inc | ||
authorities-search-results.inc | ||
authority-identifiers.inc | ||
av-build-dropbox.inc | ||
biblio-title-head.inc | ||
biblio-title.inc | ||
bodytag.inc | ||
calendar.inc | ||
columns_settings.inc | ||
datatables.inc | ||
date-format.inc | ||
display-library-address.inc | ||
doc-head-close.inc | ||
doc-head-open.inc | ||
greybox.inc | ||
holds-table.inc | ||
html_helpers.inc | ||
i18n.inc | ||
ill-availability-table.inc | ||
item-status-schema-org.inc | ||
item-status.inc | ||
js-date-format.inc | ||
masthead-langmenu.inc | ||
masthead-sci.inc | ||
masthead-sco.inc | ||
masthead.inc | ||
navigation.inc | ||
opac-authorities.inc | ||
opac-bottom.inc | ||
opac-detail-sidebar.inc | ||
opac-facets.inc | ||
opac-note.inc | ||
opac-topissues.inc | ||
openlibrary-readapi.inc | ||
overdrive-checkout.inc | ||
overdrive-login.inc | ||
page-numbers.inc | ||
password_check.inc | ||
patron-title.inc | ||
recordedbooks-checkout.inc | ||
resort_form.inc | ||
shelfbrowser.inc | ||
slip-print.inc | ||
subtypes_unimarc.inc | ||
title-actions-menu.inc | ||
user-star-ratings.inc | ||
usermenu.inc | ||
validator-strings.inc | ||
xslt-handler.inc |