Bugzilla – Attachment 95297 Details for
Bug 23888
Incorrect vendor id in subscription creation causes internal server error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23888: Fix JS error if no vendor defined
Bug-23888-Fix-JS-error-if-no-vendor-defined.patch (text/plain), 1.30 KB, created by
Jonathan Druart
on 2019-11-12 11:30:13 UTC
(
hide
)
Description:
Bug 23888: Fix JS error if no vendor defined
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-11-12 11:30:13 UTC
Size:
1.30 KB
patch
obsolete
>From b53f83096423fc45fed0e584a1e3739f7ed9ef32 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 12 Nov 2019 12:29:38 +0100 >Subject: [PATCH] Bug 23888: Fix JS error if no vendor defined > >--- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >index d21235d5b6..d04d21c8a8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt >@@ -554,9 +554,7 @@ fieldset.rows table { clear: none; margin: 0; } > var MSG_MANA_NO_SUBSCRIPTION_FOUND = _("No subscription found on Mana Knowledge Base"); > var MSG_MANA_SHARE_PATTERN = _("Please feel free to share your pattern with all others librarians once you are done"); > >- [% IF bookseller_ids %] >- var BOOKSELLER_IDS = [% To.json( bookseller_ids ) %] >- [% END %] >+ var BOOKSELLER_IDS = [% To.json( bookseller_ids ) || '[]' | $raw %]; > </script> > [% Asset.js("js/subscription-add.js") | $raw %] > [% Asset.js("js/showpredictionpattern.js") | $raw %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23888
:
95253
|
95297
|
98963
|
98964
|
101826
|
101967
|
101968