Bug 18573: (bug 17847 follow-up) Update av-build-dropbox.inc for OPAC
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 10 May 2017 16:13:09 +0000 (13:13 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 12 May 2017 12:46:35 +0000 (08:46 -0400)
commit8823b41d17465f667bb41a1c373de4c3002d2957
tree4aca3df4fb581b23237b6e29e4198c7fc7a910da
parentf3167a5259a5adb5cc00455bb81a269e29081742
Bug 18573: (bug 17847 follow-up) Update av-build-dropbox.inc for OPAC

On bug 17847, av-build-dropbox.inc has been updated for the intranet,
not OPAC

There is only one call to av-build-dropbox.inc at the OPAC, from
opac-suggestion.tt

Test plan:
Create a new suggestion, anonymous or with a logged in user
=> Without this patch you got
  Template process failed: undef error - The method default is not
  covered by tests! at /home/vagrant/kohaclone/C4/Templates.pm line 121.
=> With this patch applied you should see the item type dropdown list
correctly filled

Reproduced without patch, OK with patch
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/av-build-dropbox.inc