Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Owen Leonard 0f33c0a7d5 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 <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-04-14 15:25:21 +02:00
..
csv Bug 27486: Rename system preference delimiter to CSVDelimiter 2021-01-29 09:03:45 +01:00
tables Bug 18480: Get rid of unwanted / distracting link in patron search for fund owner 2018-10-15 14:19:08 +00:00
acqui-home.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
addorder.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
addorderiso2709.tt Bug 28066: Remove select tag's size attribute where it is 1 2021-04-06 15:56:31 +02:00
ajax.tt Bug 13618: Add html filters to all the variables 2018-08-17 15:55:05 +00:00
basket.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
basketgroup.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
basketheader.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
booksellers.tt Bug 27982: Replace obsolete title-string sorting: Acquisitions templates part 1 2021-04-06 15:56:30 +02:00
cancelorder.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
duplicate_orders.tt Bug 28066: Remove select tag's size attribute where it is 1 2021-04-06 15:56:31 +02:00
edi_ean.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
edifactmsgs.tt Bug 27982: Replace obsolete title-string sorting: Acquisitions templates part 1 2021-04-06 15:56:30 +02:00
edimsg.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
histsearch.tt Bug 27982: Replace obsolete title-string sorting: Acquisitions templates part 1 2021-04-06 15:56:30 +02:00
invoice-files.tt Bug 27982: Replace obsolete title-string sorting: Acquisitions templates part 1 2021-04-06 15:56:30 +02:00
invoice.tt Bug 27982: (follow-up) Address missing instances 2021-04-06 15:56:30 +02:00
invoices.tt Bug 22773: (follow-up) Fix id clash and data element 2021-04-08 15:37:44 +02:00
lateorders.tt Bug 27983: Replace obsolete title-string sorting: Acquisitions templates part 2 2021-04-06 15:56:31 +02:00
modordernotes.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
neworderempty.tt Bug 28066: Remove select tag's size attribute where it is 1 2021-04-06 15:56:31 +02:00
neworderempty_duplicate.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
newordersubscription.tt Bug 27983: Replace obsolete title-string sorting: Acquisitions templates part 2 2021-04-06 15:56:31 +02:00
newordersuggestion.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
ordered.tt Bug 27983: (follow-up) Address missing instances 2021-04-06 15:56:31 +02:00
orderreceive.tt Bug 27983: (follow-up) Address missing instances 2021-04-06 15:56:31 +02:00
parcel.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
parcels.tt Bug 27983: Replace obsolete title-string sorting: Acquisitions templates part 2 2021-04-06 15:56:31 +02:00
showorder.tt Bug 24161: Keep tracks of late orders claims 2020-05-04 09:44:44 +01:00
spent.tt Bug 27983: (follow-up) Address missing instances 2021-04-06 15:56:31 +02:00
supplier.tt Bug 27983: (follow-up) Address missing instances 2021-04-06 15:56:31 +02:00
transferorder.tt Bug 24648: Contextualization of past tense 'Created' 2020-02-19 15:57:21 +00:00
uncertainprice.tt Bug 27846: (follow-up) Add id back to breadcrumbs container 2021-04-01 18:51:38 +02:00
z3950_search.tt Bug 28112: Z39.50 does not populate form with all passed criteria 2021-04-14 15:25:21 +02:00