circulate icon indicating copy to clipboard operation
circulate copied to clipboard

Search should only return available items.

Open CTLvivek opened this issue 3 years ago • 5 comments

Describe the bug The inventory no longer shows unavailable items when browsing the inventory but if you search for an item, the search can return unavailable items.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://app.chicagotoollibrary.org/items'
  2. Search for 'foxglove'
  3. Item 'A-532' is listed in the search results.
  4. See error

Expected behavior Search should not return items that aren't available.

CTLvivek avatar Oct 07 '21 02:10 CTLvivek

Happy to take this one @jim

kinduff avatar Oct 10 '21 15:10 kinduff

@kinduff It's all yours!

jim avatar Oct 11 '21 02:10 jim

@jim is this still an issue? Can't reproduce but perhaps the case above is no longer valid.

shkm avatar Jan 28 '22 13:01 shkm

@shkm, looks like this has been addressed. I can see the unavailable items in the librarian/admin view but they aren't coming up when searching from the public view which was the goal. I didn't do a exhaustive examination but I cross compared against "wildflower", "foxglove" and "circular saw".

CTLvivek avatar Jan 28 '22 20:01 CTLvivek

I can unassigned since I stale this for a while. Feel free to remove me. Sorry for not providing updates.

kinduff avatar Jan 28 '22 21:01 kinduff