From a9b1f1eab889189f8ebcc28479035aecf7be1726 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 Signed-off-by: Jonathan Druart (cherry picked from commit 0f33c0a7d58704dba0e4c30b0b8904131adea111) Signed-off-by: Fridolin Somers (cherry picked from commit 439d7b6405d767210204d69138a54f20509a9dbc) Signed-off-by: Andrew Fuerste-Henry --- .../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 73a9e787cc..f51333a10b 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 @@ -35,12 +35,25 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color :
  • -
  • -
  • -
  • -
  • -
  • -
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • -
  • + +
  • Clear search form
  • -- 2.39.5