[Koha-bugs] [Bug 22880] Convert opacheader system preference to news block

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 11 17:37:21 CET 2019


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

--- Comment #25 from Owen Leonard <oleonard at myacpl.org> ---
> > Opacheader shows more text than anticipated: I had this in the pref
> > <h4>TEST</h4> But the contents of another news item (location All) is shown
> > too.

I think I've discovered at least one way this can happen: My opaclanguages
preference contained a language which wasn't actually installed and enabled.
The DB update trusted the value for opaclanguages and inserted a news item
using that location.

Upon edit, the Koha news interface tries to pre-select the location declared in
the news item. Because the translation doesn't actually exist on the system it
is unable to pre-select the right value. With no pre-selected option it
defaults to blank.

If you don't notice this, upon saving your news item the location is set to
blank and thus appears in all news-related locations.

The disconnect between what is in opaclanguages and what is really installed is
probably a product of running a test environment. Is it an issue which need to
be addressed in this bug?

Is there a reason to offer an "All" option for news items? I think the option
probably hasn't been relevant since we added the "Slip" option for news items.

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


More information about the Koha-bugs mailing list