See also bug 35993. Checking for 005 would not be a good way to approach this question.
Note that acquisition of older books may take a long time. In the meantime we may have changed from creating items at ordering, receiving or cataloging. So we cannot just trust checking items.notforloan.
Bug 24430 added biblio->active_orders but they include the lines which are completely received. These are actually 'not-cancelled' orders.
(In reply to Marcel de Rooy from comment #2) > Bug 24430 added biblio->active_orders but they include the lines which are > completely received. These are actually 'not-cancelled' orders. No this is about current orders. And has been addressed now on 36018.
Created attachment 162334 [details] [review] Bug 35994: Add $biblio->acq_status This allows you to see quickly if a biblio has linked orders or not. And if they are all cancelled, or some still in processing, or some are complete (and the rest cancelled). Test plan: Run t/db_dependent/Koha/Biblio.t Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Created attachment 162335 [details] [review] Bug 35994: Show acq_status on catalogue/detail Test plan: Based on the described criteria, check a few biblio records. Look at Acquisitions tab on the intranet detail page. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Issue seems to be resolved on 36018. So back to NSO here. Please try again!
This is a nice addition! I can confirm the "unlinked" and "cancelled" statuses work as intended, as well as the "processing" status when nothing has been received yet. I ran into bug 36628 when trying to set up the cases for "acquired", and the "processing" status when some but not all items have been received, though. :(
Ohhh, the error is coming from the dependency, not master - see https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36018#c24
Created attachment 165154 [details] [review] Bug 35994: Add $biblio->acq_status This allows you to see quickly if a biblio has linked orders or not. And if they are all cancelled, or some still in processing, or some are complete (and the rest cancelled). Test plan: Run t/db_dependent/Koha/Biblio.t Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Created attachment 165155 [details] [review] Bug 35994: Show acq_status on catalogue/detail Test plan: Based on the described criteria, check a few biblio records. Look at Acquisitions tab on the intranet detail page. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
(In reply to Emily Lamancusa from comment #8) > Ohhh, the error is coming from the dependency, not master - see > https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36018#c24 Fixed
Created attachment 165224 [details] [review] Bug 35994: Add $biblio->acq_status This allows you to see quickly if a biblio has linked orders or not. And if they are all cancelled, or some still in processing, or some are complete (and the rest cancelled). Test plan: Run t/db_dependent/Koha/Biblio.t Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Created attachment 165225 [details] [review] Bug 35994: Show acq_status on catalogue/detail Test plan: Based on the described criteria, check a few biblio records. Look at Acquisitions tab on the intranet detail page. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>