From d82180893f1bcd79f234c7b09383ed6392c06f74 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 7 Apr 2021 16:27:31 +0000 Subject: [PATCH] Bug 28112: Z39.50 does not populate form with all passed criteria This patch adds output of some already-existing template variables in the Z39.50 search form so that all parameters can be used to prepopulate the form. To test, apply the patch and go to Cataloging. - Click the "New from Z39.50/SRU" button - A window should pop up and the form should be empty. - Confirm that searching works correctly. - Perform the same test from a bibliographic detail page using the Edit menu -> Replace record via Z39.50/SRU. - Some fields in the search form should be prepopulated, e.g. ISBN, title, author. - Paste this link into your browser: http://path.to.your.koha/cgi-bin/koha/cataloguing/z3950_search.pl?frameworkcode=&isbn=isbn&issn=issn&title=title&author=author&dewey=dewey&subject=subject&lccall=lccall&controlnumber=controlnumber&stdid=stdid&srchany=srchany&publicationyear=publicationyear - The search form should appear with all fields prepopulated. - Perform the same tests in Acquisitions with the option for adding to a basket via an external search. - The link for testing all parameters: http://path.to.your.koha/cgi-bin/koha/acqui/z3950_search.pl?booksellerid=4&basketno=3&isbn=isbn&issn=issn&title=title&author=author&dewey=dewey&subject=subject&lccall=lccall&controlnumber=controlnumber&stdid=stdid&srchany=srchany&publicationyear=publicationyear Signed-off-by: David Nind Signed-off-by: Jonathan Druart --- .../prog/en/modules/acqui/z3950_search.tt | 25 ++++++++++++---- .../en/modules/cataloguing/z3950_search.tt | 30 ++++++++++++------- 2 files changed, 39 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt index fa34ad4548c..c492d285ce7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt @@ -63,12 +63,25 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
  • -
  • -
  • -
  • -
  • -
  • -
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • Clear search form
  • -- 2.20.1