When itemBarcodeFallbackSearch is enabled, the table of search results it shows doesn't include anything to indicate whether or not an item is available. We should at least show the value from items.onloan to let users know if the item they're selecting is currently checked out to another patron.
Created attachment 151071 [details] [review] Bug 33246: Show the onloan status on the BarcodeFallbackSearch result
Something like that? In a different column?
Created attachment 151172 [details] [review] Bug 33246: Show the onloan status on the BarcodeFallbackSearch result Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Created attachment 151173 [details] [review] Bug 33246: Add some space between icon and text when there is only one result When there is only one result line, the text "Checked out" would show directly after the icon at the end of the title. This makes sure there will always be a little space between them. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
I like that it's at the beginning of the table, so quite obvious. It's also only a small change, so we could consider putting it in 22.11 as well. I imagine maybe having a filter on 'checked out' would be nice that is set by default and can be unset if needed. Usually the item presented to you should not be the checked out in this situation. It could also be nice to have a different background color for the full line as they can be a little long.
Created attachment 151343 [details] [review] Bug 33246: Show the onloan status on the BarcodeFallbackSearch result Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Created attachment 151344 [details] [review] Bug 33246: Add some space between icon and text when there is only one result When there is only one result line, the text "Checked out" would show directly after the icon at the end of the title. This makes sure there will always be a little space between them. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
+ [% IF item.onloan %]<span style="float: right; color: red; margin-left:5px;">Checked out</span>[% END %] So glad we have css files, LOL
Pushed to master for 23.05. Nice work everyone, thanks!
Enhancement - not backporting to 22.11.x