[Koha-bugs] [Bug 11466] New: Purchase suggestion itemtypes, only default available if AdvancedSearchTypes not equal 'itemtypes'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 2 08:22:58 CET 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11466

            Bug ID: 11466
           Summary: Purchase suggestion itemtypes, only default available
                    if AdvancedSearchTypes not equal 'itemtypes'
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: olli-antti.kivilahti at jns.fi
        QA Contact: testopia at bugs.koha-community.org

When system preference AdvancedSearchTypes has other values than 'itemtypes',
for ex 'itemtypes|loc', itemtypes selection in opac-suggestions.pl is not
populated with available itemtypes.

This patch fixes the issue by broadening the strict comparison of
($advanced_search_types eg 'itemtypes') #fails 'itemtypes|loc'
to 
($advanced_search_types =~ 'itemtypes') #succeeds 'itemtypes|loc'

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list