]> git.koha-community.org Git - koha.git/commit
Bug 27356: Don't hide the SMTP servers table when last displayed is deleted
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Jan 2021 10:13:48 +0000 (11:13 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 18 Jan 2021 14:25:39 +0000 (15:25 +0100)
commit05c9888d31b1fb0b0c2ad7d75fefd58593fe0dea
treef1c6e681f4643b2458f25245e42d6800d434ea96
parent82800db317ffceb1a8b644bf9529e685ac5b42c8
Bug 27356: Don't hide the SMTP servers table when last displayed is deleted

Found on bug 27251 which was mimicking SMTP server code for QOTD.

To recreate:
Create a SMTP server with name "a"
Create a SMTP server with name "aa"

Filter by "aa"
=> Only 1 row displayed

Delete it, confirm
=> The table disappears

Note that we could re-add this test when bug 27353 will be pushed, as
recordsTotal will contain the unfiltered number of records in the DB.

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 518e42d17c43a34f198ca4779546d72596160726)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/smtp_servers.tt