Koha/koha-tmpl/intranet-tmpl/prog/en/modules/acqui
Jonathan Druart 88816eebd9 Bug 13021: guarantor search - main patch
This patch is the main patch.
The "common" template is improved to allow different type of picking:
"add" or "select".
The first one appends a patron to a list, the second one selects the
patron and close the result search window.

The members/guarantor_search.pl has completly changed but is quite the
same file as acqui/add_user_search.pl. Both should exist: they don't
belong to the same module (acqui vs members), the picking type is
different (add vs select) and the columns are not the same.

The changes in the common template are very powerful, it's now possible
to list the column we want! This will be very useful for further
reusability.

Before this patch, all patrons mathing the pattern were return. Now only
the first 20 are (depends on the DataTables selected value).

For QA: This patch introduces a new template plugin "To", for now it
permits to convert a perl structure to json. In the idea, it could
permit to convert foo to bar too.

Test plan:
1/ Verify there is no regression in the guarantor search. When the
selection has been done, all data from the guarantor should fill the
form in the "main address" section.
Note that the request is done when the search input in not empty and the
user stop to write for 1 sec.
2/ Verify there is no regression on the 2 other pages where this patron
search is used: link a patron to an order and to a basket (in the
acquisition module).

Signed-off-by: Morag Hills <the.invinnysible.one@gmail.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2015-03-19 14:19:34 -03:00
..
csv Bug 7298: (follow-up) fix translation for CSV strings 2013-10-31 15:51:45 +00:00
tables Bug 13021: guarantor search - main patch 2015-03-19 14:19:34 -03:00
acqui-home.tt Bug 12989: Fix JS error 2014-11-11 14:16:10 -03:00
addorder.tt Bug 9822: Alert on adding an order to a basket if budget s exceeded 2013-10-30 15:10:11 +00:00
addorderiso2709.tt Bug 12927: Problems with item information tab on acq order from staged page 2014-10-16 12:51:13 -03:00
ajax.tt Bug 5917 : Swapping templates over 2011-04-10 20:38:30 +12:00
basket.tt Bug 13380: Fill order cancellation reasons from AV 2015-03-15 08:50:29 -03:00
basketgroup.tt Bug 13487: Fix pagination for basketgroup 2015-01-07 20:12:56 -03:00
basketheader.tt Bug 11805 - Use validation plugin when creating new basket in Acquisitions 2014-02-27 15:44:48 +00:00
booksellers.tt Bug 13039 - Vendor search: sorting of "item count" and "biblio count" columns can be incorrect 2014-11-19 13:27:00 -03:00
cancelorder.tt Bug 13380: Fill order cancellation reasons from AV 2015-03-15 08:50:29 -03:00
histsearch.tt Bug 12944: Fix regression on translating 2015-02-09 15:48:17 -03:00
invoice-files.tt Bug 3050: QA follow-up 2014-05-25 21:15:03 +00:00
invoice.tt Bug 12976: Use the centralize VAT and prices calculation - invoice.pl 2015-02-19 09:46:26 -03:00
invoices.tt Bug 12646: Display all invoices on the same page 2014-10-16 12:52:15 -03:00
lateorders.tt Bug 12505 - Acq claim: Show error message when no order is selected 2014-11-19 21:43:23 -03:00
modordernotes.tt Bug 12111: (follow-up) fix breadcrumbs wording for vendor note 2014-04-28 15:31:46 +00:00
neworderbiblio.tt Bug 12565: Acq: Fix broken link in breadcrumbs 2014-12-19 15:12:14 -03:00
neworderempty.tt Bug 12648: Link patrons to an order 2015-03-11 11:47:30 -03:00
neworderempty_duplicate.tt Bug 7760: Add unique ids and a module class to all acquisitions pages 2012-03-22 18:11:54 +01:00
newordersubscription.tt Bug 13744: Fix datatables paging on 'order from subscription' page 2015-03-07 21:10:24 +01:00
newordersuggestion.tt Bug 12775: Suggestions should be ordered by anyone 2014-11-21 16:13:27 -03:00
ordered.tt Bug 12089: Remove use of dt_add_type_uk_date() - Acquisitions 2014-04-28 18:41:28 +00:00
orderreceive.tt Bug 13593: 'stock number' should be 'inventory number' 2015-02-20 10:57:26 -03:00
parcel.tt Bug 13320: Fix "Tax inc." vs "Tax exc." 2015-02-04 15:16:15 -03:00
parcels.tt Bug 4402: Date filter on parcels.tt required db date format 2015-03-15 08:56:06 -03:00
spent.tt Bug 12089: Remove use of dt_add_type_uk_date() - Acquisitions 2014-04-28 18:41:28 +00:00
supplier.tt Bug 10402 follow-up: choose contacts for claims 2014-08-26 11:45:59 -03:00
transferorder.tt Bug 5349: (follow-up) tweak order transfer form 2013-09-16 15:21:07 +00:00
uncertainprice.tt Bug 10402: Use an object for contacts 2014-08-26 11:45:42 -03:00
z3950_search.tt Bug 7741 [Follow-up] Clear search terms in Z3950 search page 2015-02-16 23:40:08 -03:00