Bug 5797 - Correct damaged status not preselected if value is 0
Summary: Correct damaged status not preselected if value is 0
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor (vote)
Assignee: Galen Charlton
QA Contact: Bugs List
URL: /cgi-bin/koha/catalogue/moredetail.pl?
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 19:46 UTC by Owen Leonard
Modified: 2012-10-25 23:09 UTC (History)
2 users (show)

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


Attachments
screenshot of more detail page (54.58 KB, image/png)
2012-02-22 06:12 UTC, Katrin Fischer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2011-02-22 19:46:43 UTC
If you have two damaged statuses, "0 = Not damaged" and "1 = Damaged" all items will show as "Damaged" on moredetail.pl because the "selected" attribute isn't getting added when damaged = 0. The select will instead default to the first alphabetically.
Comment 1 Katrin Fischer 2012-02-22 06:12:43 UTC
Created attachment 7797 [details]
screenshot of more detail page

On current master the preselected value is "Choose". For lists like lost and damaged this means there is an additional empty entry for 0 values with no description for the authorized value. I am not sure this is the perfect solution, but the bug described by Owen is fixed, so closing this.