Bug 7115

Summary: Suggestion form has wrong label if AdvancedSearchTypes = collection
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: AcquisitionsAssignee: Bugs List <koha-bugs>
Status: RESOLVED MOVED QA Contact: Bugs List <koha-bugs>
Severity: enhancement    
Priority: P5 - low CC: veron
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12136
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 9223    
Bug Blocks:    
Attachments: screenshot of suggestion form

Description Katrin Fischer 2011-10-29 12:54:03 UTC
Created attachment 6111 [details]
screenshot of suggestion form

If you have set AdvancedSearchTypes to 'collection code' the suggestion form will offer a pull down with the collection codes, but the label still shows 'Item type'
Comment 1 Marc VĂ©ron 2014-08-08 15:39:46 UTC
I think this is related to Bug 12136

AdvancedSearchTypes can take multiple values, e.g.
itemtypes|ccode|loc

If the string contains itemtypes, the dropdwn shows itemtypes

If the settings are ccode|loc, the dropdown is empty

If the settings are loc, the dropdown show locs

If the settings are ccode, the dropdown shows collection codes

Maybe there should be a separate system preferences for the suggestion form, that takes only one value. (And the same for Bug 12136)
Comment 2 Katrin Fischer 2016-08-28 12:36:04 UTC
The suggestion form is now using SUGGEST_FORMAT.