[Koha-bugs] [Bug 31463] (Bug 31313 follow-up) Show item order status on opac-detail

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 31 11:31:38 CEST 2022


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #139796|0                           |1
        is obsolete|                            |

--- Comment #3 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 139996
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139996&action=edit
Bug 31463: Add order status to opac-detail.pl

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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list