Bug 33912: (follow-up) Correct case where a search has not been submited

The former cataloging home page, addbooks.pl, shows an extra ">" in the
title if a search has not been submitted. This patch corrects it.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Owen Leonard 2023-07-07 12:35:34 +00:00 committed by Tomas Cohen Arazi
parent 884621825c
commit d3bfe0f809
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -7,10 +7,10 @@
[% INCLUDE 'doc-head-open.inc' %]
<title>[% FILTER collapse %]
[% IF ( total || breeding_loop ) %]
[% t("Search results") | html %]
[% t("Search results") | html %] &rsaquo;
[% ELSIF ( query ) %]
[% t("No results found") | html %]
[% END %] &rsaquo;
[% t("No results found") | html %] &rsaquo;
[% END %]
[% t("Cataloging") | html %] &rsaquo;
[% t("Koha") | html %]
[% END %]</title>