Bug 26468 - Item search should include a way to limit by damaged
Summary: Item search should include a way to limit by damaged
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Lucas Gass (lukeg)
QA Contact: Katrin Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-15 17:50 UTC by Lucas Gass (lukeg)
Modified: 2024-07-04 20:37 UTC (History)
7 users (show)

See Also:
Change sponsored?: ---
Patch complexity: Small patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.11.00
Circulation function:


Attachments
Bug 26468: Add damaged as a searchable status in item search (10.64 KB, patch)
2023-10-13 21:06 UTC, Lucas Gass (lukeg)
Details | Diff | Splinter Review
Bug 26468: Add damaged as a searchable status in item search (10.69 KB, patch)
2023-10-16 14:55 UTC, ByWater Sandboxes
Details | Diff | Splinter Review
Bug 26468: Add damaged as a searchable status in item search (11.62 KB, patch)
2023-11-04 23:27 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Lucas Gass (lukeg) 2020-09-15 17:50:18 UTC
On itemsearch.pl you can limit by  LOST or WITHDRAWN statuses but not by DAMAGED status.

It would be neat if that was added.
Comment 1 Donna 2020-09-15 17:52:31 UTC
The item search is so helpful for users, adding a damaged status limiter would be amazing!!!
Comment 2 Rebecca Coert 2020-09-17 14:38:51 UTC
I think this would be very useful, especially for libraries that have more than one Damaged status (e.g.: Damaged - Basement Flood, 2020; Damaged by Patron; etc.).
Comment 3 Katrin Fischer 2020-09-17 19:37:01 UTC
What you can do is add the damaged to 'item search fields' defined in administration. If you link it to DAMAGED it will display as a pull down. Using the "and" combination you could also search for multiple. 

It would be nice to have it by default, but I think this could at least be a good workaround?
Comment 4 Angela Berrett 2023-10-12 19:02:13 UTC
We use the DAMAGED status for conservation and repair statuses.  Being able to pull a list of items in those areas would be WONDERFUL.
Comment 5 Lucas Gass (lukeg) 2023-10-13 21:06:20 UTC
Created attachment 157136 [details] [review]
Bug 26468: Add damaged as a searchable status in item search

This patch removes the Damaged radio box options ( Ignore, yes, no ) in favor a full damage status search option

To test:
1. APPLY PATCH, restart services.
2. Make sure you mark some items as damaged.
3. Go to the item and search and limit by 'Damaged'
4. You should only see your 'Damaged' items.
5. Export the results as a CSV, make sure the CSV is well-formed and accurate.
Comment 6 ByWater Sandboxes 2023-10-16 14:55:23 UTC
Created attachment 157200 [details] [review]
Bug 26468: Add damaged as a searchable status in item search

This patch removes the Damaged radio box options ( Ignore, yes, no ) in favor a full damage status search option

To test:
1. APPLY PATCH, restart services.
2. Make sure you mark some items as damaged.
3. Go to the item and search and limit by 'Damaged'
4. You should only see your 'Damaged' items.
5. Export the results as a CSV, make sure the CSV is well-formed and accurate.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Comment 7 Katrin Fischer 2023-11-04 23:27:18 UTC
Created attachment 158406 [details] [review]
Bug 26468: Add damaged as a searchable status in item search

This patch removes the Damaged radio box options ( Ignore, yes, no ) in favor a full damage status search option

To test:
1. APPLY PATCH, restart services.
2. Make sure you mark some items as damaged.
3. Go to the item and search and limit by 'Damaged'
4. You should only see your 'Damaged' items.
5. Export the results as a CSV, make sure the CSV is well-formed and accurate.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Perltidied.
Comment 8 Katrin Fischer 2023-11-04 23:28:04 UTC
I like this, but it really gets more and more urgent that we get table configuration added to the item search results.
Comment 9 Lucas Gass (lukeg) 2023-11-07 21:53:20 UTC
(In reply to Katrin Fischer from comment #8)
> I like this, but it really gets more and more urgent that we get table
> configuration added to the item search results.

100% agree. I filed Bug 35282.
Comment 10 Tomás Cohen Arazi (tcohen) 2023-11-08 20:55:15 UTC
Pushed to master for 23.11.

Nice work everyone, thanks!
Comment 11 Fridolin Somers 2023-11-11 07:10:19 UTC
Enhancement not pushed to 23.05.x