Bug 30512: Staff interface search results template error
authorOwen Leonard <oleonard@myacpl.org>
Tue, 12 Apr 2022 11:56:43 +0000 (11:56 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 22 Apr 2022 07:01:09 +0000 (21:01 -1000)
commiteda11a029397aef5fea4d3e821c6c87dd2519ede
tree789c89fa99783af14a4458f2ab34be22e0a30aa3
parent15405829bffec99e82a23f221fa4a75ada2f0ac5
Bug 30512: Staff interface search results template error

This patch removes some markup from the search results template which
was causing markup to be output on the screen. Rather than correct the
markup so that the "p1" class is correctly added to the relevant links
I'm removing it. The "p1" class isn't used anywhere.

The patch also corrects two incorrect template filters on one of the
page's links.

To test, apply the patch and enable the following system preferences:

- AmazonCoverImages
- IntranetCoce (if available)
- LocalCoverImages

- Perform a catalog search in the staff interface which will return
  results with cover images from each of the enabled services.
- The covers should show correctly in the search results with no markup
  being output on screen.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt