webstaff: work log: fix retrieving of entries
authorGalen Charlton <gmc@esilibrary.com>
Wed, 4 May 2016 21:08:04 +0000 (17:08 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 4 May 2016 21:08:04 +0000 (17:08 -0400)
commit636dbe26b49ef3a80e8c96976b4ec947e059ee8e
treef6d87f11122b6aeb05516f141ffa1d5e3ee868f0
parent2b2676d0c55846e298ca1c7ba6f04f5896ea4383
webstaff: work log: fix retrieving of entries

* add support for paging through worklog entries
* don't prematurely resolve the promise that is
  feeding rows to the grid

FIXME: because of the async, the entries are
not guaranteed to be sorted correctly.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/web/js/ui/default/staff/admin/workstation/log.js