[Koha-bugs] [Bug 12497] Make OPAC search history feature accessible when it should
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Nov 27 14:29:43 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12497
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |m.de.rooy at rijksmuseum.nl
--- Comment #12 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Charles Farmer from comment #9)
> Is this intended behavior to return a 404 whenever a systempreference blocks
> a page in Koha? I feel like the template could simply state to users and
> admin alike that search history is disabled, unless that's deemed too
> verbose for the user's own good.
>
> But it works, nonetheless, so I'm signing it off.
You will find more examples like:
if ( ! C4::Context->preference('suggestion') ) {
print $input->redirect("/cgi-bin/koha/errors/404.pl");
exit;
}
But you are right, nice is something else :)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list