From 371a7d157d8b63f843270c483705c5cde2591cf9 Mon Sep 17 00:00:00 2001
From: Owen Leonard 
Date: Fri, 7 Dec 2018 17:12:21 +0000
Subject: [PATCH] Bug 18078: Updating buttons for z39.50 Authority search
This patch is an alternate proposal for updating buttons on the Z39.50
authority search popup window. It takes some aspects of the original
proposal--Styling the pagination buttons with Bootstrap--and adds a new
interaction for navigating to a specific page in results.
To test, apply the patch and go to Authorities -> New Authority -> New
from Z39.50/SRU.
 - Perform a search which will return multiple pages of results
 - At the bottom of the search results there should be a dropdown menu
   offering selection of page numbers.
   - Selecting a number from the dropdown should automatically load that
     page of results.
   - The current page number should be correctly pre-selected in the
     dropdown.
   - The "Previous" and "Next" buttons should work normally.
 - Perform a search which returns only a single page of results. There
   should be no navigation controls at the bottom of the page.
---
 .../en/modules/cataloguing/z3950_auth_search.tt    | 36 +++++++++++++++++-----
 1 file changed, 28 insertions(+), 8 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt
index 0251ba4..6eb8a95 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_auth_search.tt
@@ -118,7 +118,7 @@
         
     
 
-    
 
 
@@ -173,6 +189,10 @@
     [% INCLUDE 'datatables.inc' %]