]> git.koha-community.org Git - koha.git/commit
Bug 18582 - Hide empty rows in detailed suggestion view
authorOwen Leonard <oleonard@myacpl.org>
Thu, 11 May 2017 16:45:42 +0000 (16:45 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 19 Jun 2017 18:36:38 +0000 (15:36 -0300)
commit7bcc226facc17eca9bc94cbab9535b2677462446
tree3bd4288eaffd7012b8c24c0447c89afdb330b19f
parent4e9701c36a6743eff72b8127de2cc79ff463013b
Bug 18582 - Hide empty rows in detailed suggestion view

This patch adds a check for the existence of various template variables
before showing the row containing that data. This will prevent the
display of rows containing labels but no data in the suggestions
detailed view.

To test, apply the patch and go to Acquisitions -> Suggestions.

View the detail page of various suggestions and confirm that only fields
with data are displaying.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt