Bug 33643: Add page-section to 'scan index' page in staff interface

This adds the white background. As we do on other pages I have
chosen to include the h2 heading within the page-section.

To test:
* Go to advanced search in staff interface
* Activate 'More options'
* Check checkbox for scan indexes
* Switch to author (especially when using Elasticsearch)
* Search for C
* On the result list verify there is no white background/page section
* Apply patch
* Repeat test - background should be present now

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Nicolas Giraud <nicolas.giraud@inlibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2023-05-01 13:26:55 +00:00 committed by Tomas Cohen Arazi
parent b7c1f3cf58
commit fc9ca425c8
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -369,6 +369,7 @@
<!-- Search Results Table -->
[% IF ( total ) %]
[% IF ( scan ) %]
<div class="page-section">
<h2>Scan index</h2>
<form action="/cgi-bin/koha/catalogue/search.pl" method="get">
<label for="scan-index">Scan index:</label>
@ -425,6 +426,7 @@
[% END %]
</table>
</form>
</div>
[% ELSE # /IF scan %]
<div id="searchresults">