AznBoy00/Biblio

As a user when viewing an Item, I would like to know how many copies of an Item are available.

Closed this issue · 1 comments

The view item page should display the quantity of items in the DB.
in this view, the system should provide an indication on whether the item (if a single copy) is available or is loaned, or, in the case of multiple copies, how many copies are available in the library

An SQL query similar to this might be a good starting place:

SELECT
    COUNT(*)
FROM
    js.results.discriminator
WHERE
    title = js.results.title 

related to #135

Fixed in #156