Koha/circ
Jared Camins-Esakov 9db23b8483 Bug 10240: QA follow-up
Address the following issues:
    1/ Address minor qa issues with the templates:
     FAIL    koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline-mf.tt
      FAIL      forbidden patterns
                forbidden pattern: intranet-tmpl should certainly
                replaced with [% interface %] (line 24)
                [etc.]
     OK      tt_valid
     OK      valid_template

    FAIL    koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt
     FAIL      forbidden patterns
               forbidden pattern: intranet-tmpl should certainly
               replaced with [% interface %] (line 509)
               [etc.]
    FAIL      tt_valid
        lines 5, 5
    2/ Run perltidy on new scripts
    3/ download.pl returns data.finished = 1 if number of returned
       data < 5000 (avoids 1 ajax call)
    4/ Replace qq{} around sql queries with q{}

Also, a race condition existed that resulted in pending transactions
only getting deleted from the local database in certain circumstances
(fast connections under Chrome, mostly). This patch fixes that so that
successfully-uploaded transactions are always deleted.

This patch also addresses Jonathan's suggestion:
3/ add a message on check in (currently the input becomes empty but the
   user is not informed).

... and Magnus's suggestion about moving the Synchronize link to the
right on the homepage.

Also, this addresses the further issues Jonathan noted:

- The tab of checkouts always shows "*0* Checkouts"
- If I am not well-educated, I click on the "Check out" link on the
  offline home page, I enter a barcode, click on "Check out" and I get a
  js error (without user message): "TypeError: curpatron is undefined"
  (with chromium I get: Numeric transaction modes are deprecated in
  IDBDatabase.transaction. Use "readonly" or "readwrite").
- There is a "border-right" css rule on the h5.patron-title. It is
  display when there is no patron selected) [really minor!].
- tables are displayed even if there is no data
- The "Clear screen" link (X) points to an old script:
  circ/offline-circulation.pl
- There is a warning when clicking on the "Synchronize" link when the
  user is offline, but not for the "Pending offline circulation actions"
  link.
- Still exists:
> The "Checked in item." message text never disappear (even if I go on the
> offline home page (circ/offline.pl#offline-home)).

Finally, this patch adds a link to the Pending offline operations page
on the synchronize page for easier navigation.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-10-11 01:57:03 +00:00
..
add_message.pl Fix FSF address in directory circ/ 2010-03-16 20:17:50 -04:00
bookcount.pl Bug 9140: Followup removes the useless variable $message 2012-12-22 16:02:55 -05:00
branchoverdues.pl Bug 8077 - overdues with fines won't run 2012-05-21 18:29:26 +02:00
branchtransfers.pl Bug 9394: Use reserve_id where possible 2013-07-24 05:04:55 +00:00
circulation-home.pl Bug 10240: Offline circulation using HTML5 and IndexedDB 2013-10-11 01:53:34 +00:00
circulation.pl Bug 5652: display subtitles on patron checkout and holds summary 2013-08-06 14:30:52 +00:00
del_message.pl Fix FSF address in directory circ/ 2010-03-16 20:17:50 -04:00
hold-transfer-slip.pl bug_7001: Issue and Reserve slips are notices. 2012-03-09 10:11:20 +01:00
offline-mf.pl Bug 10240: QA follow-up 2013-10-11 01:57:03 +00:00
offline.pl Bug 10240: QA follow-up 2013-10-11 01:57:03 +00:00
overdue.pl Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
pendingreserves.pl Bug 9761: Make it possible to confirm future hold requests at checkin time 2013-09-25 00:26:34 +00:00
reserveratios.pl Bug 10550: Fix database typo wthdrawn 2013-09-08 01:58:41 +00:00
returns.pl Bug 10513: (follow-up) use "checkin" rather than "check in" 2013-09-16 17:45:32 +00:00
selectbranchprinter.pl Bug 6841 - A member with cataloging permissions cannot change branches (when independent branches is set on) 2011-09-14 21:44:03 +12:00
stats.pl Bug 2505 - Add commented use warnings where missing in the circ/ directory 2010-04-21 20:20:03 +12:00
transfer-slip.pl bug_7001: Issue and Reserve slips are notices. 2012-03-09 10:11:20 +01:00
transferstoreceive.pl Bug 10721 - Improve DataTables configuration on transfers to receive report 2013-09-07 21:04:53 +00:00
view_holdsqueue.pl Bug 9591 : Set Library changes after viewing Holds Queue >> reserves item 2013-04-15 08:36:07 -04:00
waitingreserves.pl Bug 10080 - Change system pref IndependantBranches to IndependentBranches 2013-05-22 07:58:23 -07:00
ypattrodue-attr-search-authvalue.pl Bug 7747 - Replace YUI autocomplete with jQueryUI 2012-05-31 18:07:55 +02:00
ysearch.pl Bug 5904: make patron search autocompletion respect IndependentBranches 2013-09-04 16:42:38 +00:00