https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40873

            Bug ID: 40873
           Summary: AV dropdowns in OPAC don't use lib_opac values
 Change sponsored?: ---
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: OPAC
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

The OPAC version of av-build-dropbox.inc uses av.lib instead of av.lib_opac so
even if your AV category has OPAC-friendly text it is not used.

I discovered this specifically when using the SUGGEST_FORMAT item types for
purchase suggestions. I created the category, added several values, gave them
all a concise "lib" value and some a more explanatory "lib_opac" value. When I
visited the OPAC's suggestions page
/cgi-bin/koha/opac-suggestions.pl?op=add_form I saw the form only used the
"lib" values.

The code is in koha-tmpl/opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc

I suspect many patron-facing AVs don't have lib_opac values because they're not
used anywhere, so changing the dropbox code to use lib_opac could have negative
side effects for many existing instances. Would it make sense to check if an AV
has lib_opac, use that, and default to lib if not available? This should make
the transition seamless, unless libraries put inaccurate values in their
lib_opac which they wouldn't notice until now.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to