Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Kyle M Hall 82275fa2db Bug 11703 - Convert checkouts table to ajax datatable
When a patron has many checked out items, circulation.pl can take a very
long time to load ( on the order of minutes in some cases ). This is
primarily due to the processing of the previous checkouts list. If we
convert to this table to a datatable that fetches its data via ajax, we
can make circulation.pl far more responsive. The same should be done
with relative's checkouts as well.

Test Plan:
1) Apply this patch
2) Observe that the checkouts and relatives' checkouts tables
   are now loaded asynchronously
3) Observe and verify the renew and return actions are now
   ajax based and function in a manner equivilent to how they
   used to.

This bug had quite a few followups, so I squashed all of them into one
change so that code is easier to follow. Original commit messages are below:

Bug 11703 - Use the ajax datatables on patron details page

Bug 11703 - Convert holds tables to ajax datatables

Bug 11703 [QA Followup 1] - Center bProcessing message over table

Bug 11703 [QA Followup 2] - Remove icons from checkout and clear buttons

Bug 11703 [QA Followup 3] - Remove references to UseTablesortForCirc

Bug 11703 [QA Followup 4] - Add back in Today's checkouts/Previous checkouts rows

Bug 11703 [QA Followup 5]

Bug 11703 [QA Followup 6] - Move strings to an include file for translation purposes

Bug 11703 [QA Followup 7] - Fix issues spotted by koha-qa.pl

Bug 11703 [QA Followup 8] - Speed up api/checkouts.pl as much as possible

Bug 11703 [QA Followup 9] - Move scripts from api directory to svc directory

Bug 11703 [QA Followup 10] - Fix errors caused by rebase

Bug 11703 [QA Followup 11] - Prevent multiple fetchs from ajax source

Bug 11703 [QA Followup 12] - Fix problem detected by koha-qa.pl

Bug 11703 [QA Followup 13] - Removed uneccessary data from renewal box during renewal

Bug 11703 [QA Followup 14] - Fix table column span

Signed-off-by: Dobrica Pavlinusic <dpavlin@rot13.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script.
Test plan on bug report:
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11703#c98

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>

Signed-off-by: Christopher Brannon <cbrannon@cdalibrary.org>
2014-07-03 11:22:10 -03:00
..
preferences Bug 11703 - Convert checkouts table to ajax datatable 2014-07-03 11:22:10 -03:00
searchengine/solr
admin-home.tt Bug 7372: Move road types from the roadtype table to the ROADTYPE AV 2014-02-21 16:00:53 +00:00
aqbudget_user_search.tt
aqbudgetperiods.tt Bug 12089: Remove use of dt_add_type_uk_date() - Budgets 2014-04-28 18:38:50 +00:00
aqbudgets.tt Bug 11763: (follow-up) do not display anything in actions column if user cannot manage a budget 2014-05-04 18:41:33 +00:00
aqcontract.tt
aqplan.tt Bug 12107 - Move checkboxes jQuery plugin outside of language-specific directory 2014-04-25 15:12:20 +00:00
auth_subfields_structure.tt Bug 11508: fix untranslatable pull-down in auth_subfields_structure.pl 2014-04-19 14:40:41 +00:00
auth_tag_structure.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
authorised_values.tt Bug 12094: fix default tab selection broken by jQueryUI upgrade 2014-04-22 14:51:18 +00:00
authtypes.tt Bug 11766 - Use validation plugin when creating new authority type 2014-02-19 15:47:57 +00:00
biblio_framework.tt Bug 11769: (follow-up) style required fields 2014-04-27 21:38:28 +00:00
branch_transfer_limits.tt Bug 12107 - Move checkboxes jQuery plugin outside of language-specific directory 2014-04-25 15:12:20 +00:00
branches.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
categorie.tt Bug 6254: (follow-up) tidy admin/categorie.pl ( whitespace changes only ) 2014-05-26 01:23:00 +00:00
checkmarc.tt
cities.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
classsources.tt
clone-rules.tt
currency.tt Bug 9593: (follow-up) don't make currency.isocode required 2014-05-04 22:21:17 +00:00
didyoumean.tt
fieldmapping.tt
item_circulation_alerts.tt Bug 12138 - Use placeholders in translatable Javascript strings 2014-04-27 21:24:04 +00:00
itemtypes.tt Bug 11351 - Add support for SIP2 media types 2014-04-28 17:54:42 +00:00
koha2marclinks.tt
marc_subfields_structure.tt Bug 11497: remove TT construct for picking a default string that i18n toolchain fails to pick up 2014-04-27 21:23:01 +00:00
marctagstructure.tt Bug 7125: make MARC framework tag form not suggest that one can change the form 2014-04-28 17:42:00 +00:00
matching-rules.tt
oai_set_mappings.tt Bug 11877 - Eliminate use of deprecated jQuery .live() method 2014-03-26 19:15:01 +00:00
oai_sets.tt Bug 11806 - Use validation plugin when creating new OAI set 2014-03-26 19:21:14 +00:00
patron-attr-types.tt Bug 6254: make it possible to set default privacy setting for new patrons 2014-05-26 01:17:37 +00:00
preferences.tt Bug 12150 - Use more javascript string formatting in intranet for translated strings. 2014-07-03 09:52:48 -03:00
printers.tt Bug 11765 - Remove unused function isDate from templates 2014-02-18 20:51:38 +00:00
smart-rules.tt Bug 12451 - circulation rule cant be edited if itemtype contains a space character 2014-07-03 10:47:42 -03:00
stopwords.tt
systempreferences.tt Bug 11765 - Remove unused function isDate from templates 2014-02-18 20:51:38 +00:00
transport-cost-matrix.tt
z3950servers.tt Bug 1047: Punctuation in site names no longer breaks Edit/Delete z39.50 server administration 2014-03-12 14:29:22 +00:00