Bugzilla – Attachment 28577 Details for
Bug 12280
"Others..." reason for suggestions not showing in Bootstrap OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 12280 - "Others..." reason for suggestions not showing in Bootstrap OPAC
SIGNED-OFF-Bug-12280---Others-reason-for-suggestio.patch (text/plain), 2.33 KB, created by
Nicole C. Engard
on 2014-05-30 18:51:56 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 12280 - "Others..." reason for suggestions not showing in Bootstrap OPAC
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2014-05-30 18:51:56 UTC
Size:
2.33 KB
patch
obsolete
>From cf88087cfdf26149b56b549a46eec8107166c0ac Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 22 May 2014 11:24:52 -0400 >Subject: [PATCH] [SIGNED-OFF] Bug 12280 - "Others..." reason for suggestions not showing in Bootstrap OPAC > >If you accept or reject a suggestion using the "Others..." option and >entering a reason manually, the text is not showing up in the Bootstrap >OPAC theme as it does in CCSR and prog. This patch corrects the problem. > >This patch also adds a missing [% USE AuthorisedValues %] which would >cause errors if the template tried to display a custom suggestion status >as defined in the SUGGEST_STATUS authorized value category. > >To test, accept or reject a suggestion and specify a custom reason. View >that suggestion in the Bootstrap OPAC and confirm that the custom reason >is displayed. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >--- > .../bootstrap/en/modules/opac-suggestions.tt | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >index 573cd37..f58dd00 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt >@@ -1,4 +1,5 @@ > [% USE Koha %] >+[% USE AuthorisedValues %] > [% INCLUDE 'doc-head-open.inc' %][% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › > [% IF ( op_add ) %]Enter a new purchase suggestion[% END %] > [% IF ( op_else ) %]Purchase Suggestions[% END %] >@@ -205,6 +206,7 @@ > [% ELSIF ( suggestions_loo.REJECTED ) %]Suggestion declined > [% ELSIF ( suggestions_loo.AVAILABLE ) %]Available in the library > [% ELSE %] [% AuthorisedValues.GetByCode( 'SUGGEST_STATUS', suggestions_loo.STATUS, 1 ) %] [% END %] >+ [% IF ( suggestions_loo.reason ) %]([% suggestions_loo.reason |html %])[% END %] > </td> > </tr> > [% END # / FOREACH suggestions_loo %] >-- >1.7.2.3
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 12280
:
28448
|
28577
|
28617