]> git.koha-community.org Git - koha.git/commit
Bug 13329: Fix create a suggestion at the OPAC
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 24 Nov 2014 08:54:16 +0000 (09:54 +0100)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 25 Nov 2014 18:24:21 +0000 (15:24 -0300)
commit33f53e4dfd79f122fac0d4daf3796ce163564580
treeb5aff5d82e8c4a0195de70d6af88266e05e42764
parent08482a70f8db5757614b7f23efaf457445b76dd8
Bug 13329: Fix create a suggestion at the OPAC

The suggestion table does not contain a 'branch' column name.
The script should pass 'branchcode' to C4::Suggestion::NewSuggestion.

Test plan:
0/ Enable the AllowPurchaseSuggestionBranchChoice pref
1/ Create a suggestion at the OPAC should not raise a DBIx::Class error.

I could reproduce the bug.
With patch bug is gone.

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, thx for the quick fix.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt
opac/opac-suggestions.pl