Bug 38415 - Can't show customized Authorized values of WITHDRAWN and LOST in Cateloging search results
Summary: Can't show customized Authorized values of WITHDRAWN and LOST in Cateloging s...
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low trivial
Assignee: Yanjun Li
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-08 21:32 UTC by Yanjun Li
Modified: 2024-11-08 21:55 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yanjun Li 2024-11-08 21:32:22 UTC
After setting customized Authorized values of WITHDRAWN and LOST, when using Cataloging > Cataloging search, the search results will only show "Withdrawn" or "Lost" instead of the customized values. Found out that in "addbooks.tt" file (line 154 - 160), the "Withdrawn" and "Lost" values are hardcoded. 

Noted that if search by "Search catalog" at the top toolbar, return results can show the customized values.  

To recreate:
1. Add new authorized value for WITHDRAWN in Administration > Authorized values
2. Search a book and set its "Withdrawn status" to the new authorized value 
3. Search the book in Cataloging > Cataloging search
4. See the return results "Location" column, only show "Withdrawn" but not the new authorized value, also no other other information
5. (Optional) Search "Search Catalog" at the top toolbar, see return results "Location" column has the new authorized value and location info. 
6. Repeat step 1 - 5 for LOST