Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
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
..
preferences Bug 13676 - OpacSuppression description says 'items' but means 'records' 2015-03-02 15:25:47 +01:00
admin-home.tt Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
aqbudget_user_search.tt Bug 13021: guarantor search - main patch 2015-03-19 14:19:34 -03:00
aqbudgetperiods.tt Bug 13861: \n in confirmation message on closing a budget 2015-03-19 14:04:09 -03:00
aqbudgets.tt Bug 13021: guarantor search - main patch 2015-03-19 14:19:34 -03:00
aqcontract.tt
aqplan.tt Bug 12992: Fund planning should display actual values 2014-11-16 21:38:16 -03:00
auth_subfields_structure.tt
auth_tag_structure.tt
authorised_values.tt Bug 13587: Fix Authorised Values Toolbar 2015-01-21 10:56:43 -03:00
authtypes.tt
biblio_framework.tt
branch_transfer_limits.tt
branches.tt Bug 13441 - Branchcodes should not be allowed to have spaces in them 2015-02-05 15:08:44 -03:00
categorie.tt
checkmarc.tt
cities.tt Bug 13863: Fix Datatables paging on the cities and search history pages 2015-03-18 20:16:40 -03:00
classsources.tt
clone-rules.tt
columns_settings.tt
currency.tt
didyoumean.tt
fieldmapping.tt
item_circulation_alerts.tt
items_search_field.tt Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
items_search_fields.tt Bug 11425: Add item search form in staff interface 2014-11-04 19:08:12 -03:00
itemtypes.tt Bug 11944: (follow-up) Remove all utf8 filter from templates 2015-01-13 13:07:35 -03:00
koha2marclinks.tt
marc_subfields_structure.tt
marctagstructure.tt
matching-rules.tt
oai_set_mappings.tt
oai_sets.tt
patron-attr-types.tt
preferences.tt Bug 13355: System preferences tab value wrong in templates 2014-12-17 19:49:36 -03:00
printers.tt
smart-rules.tt
sru_modmapping.tt
stopwords.tt
systempreferences.tt
transport-cost-matrix.tt
z3950servers.tt Bug 12823: Alert about defining the SRU search field mappings 2014-12-31 14:13:44 -03:00