System preference AdvancedSearchTypes can be a pipe-separated list of values. GetSupportName() and GetSupportList() compare the syspref value directly using eq instead of using a regex, or splitting the value by pipe and then comparing the array values. For example, this can mean the "Item type" drop down is empty in OPAC when entering a new purchase suggestion.
In addition to GetSupportName(), GetSupportList() in C4/Koha.pm, also opac/opac-topissues.pl handles the syspref wrongly.
- I think it is a bug, not an enhancement. - For opac/opac-topissues.pl I filed a separate bug (12136)
No longer valid, these 2 subs have been removed.