Bug 27170: Fix bug with undefined 'links'
authorAndrew Isherwood <andrew.isherwood@ptfs-europe.com>
Fri, 18 Jun 2021 09:59:01 +0000 (10:59 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 21 Sep 2021 18:22:57 +0000 (20:22 +0200)
commit7811505506fd27f98a10654a4e8a5ff1b69f149f
tree8efad707b7e539db0a41dcb322b3598805f29204
parent045a59a3585851ed5894b855c2f01b54a97fe9e5
Bug 27170: Fix bug with undefined 'links'

If a row object doesn't have a 'links' property, calling 'length' on it
will fail. This commit fixes this.

Signed-off-by: Holly Cooper <hc@interleaf.ie>
Signed-off-by: Barry Cannon <bc@interleaf.ie>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/js/ill-availability.js
koha-tmpl/opac-tmpl/bootstrap/js/ill-availability.js