Bugzilla – Attachment 64553 Details for
Bug 18839
suggestion.pl: 'unknown' is spelled 'unkown'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18839: Suggestion.pl spelling mistake
Bug-18839-Suggestionpl-spelling-mistake.patch (text/plain), 3.33 KB, created by
Lee Jamison
on 2017-06-22 17:55:12 UTC
(
hide
)
Description:
Bug 18839: Suggestion.pl spelling mistake
Filename:
MIME Type:
Creator:
Lee Jamison
Created:
2017-06-22 17:55:12 UTC
Size:
3.33 KB
patch
obsolete
>From d60c83d8a0eea75fea6178549322b233d56d5a67 Mon Sep 17 00:00:00 2001 >From: Chris Kirby <chris.kirby@ilsleypubliclibrary.org> >Date: Wed, 21 Jun 2017 18:27:21 +0000 >Subject: [PATCH] Bug 18839: Suggestion.pl spelling mistake > >On the suggestion management page, 'unknown' is spelled 'unkown' > >This patch corrects this spelling mistake in > >suggestion/suggestion.pl > >koha-tmpl/intranet-tmpl/prog/en/include/strings.inc > >koha-tmpl/intranet-tmpl/prog/en/include/search_indexes.inc > >Signed-off-by: Lee Jamison <ldjamison@marywood.edu> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc | 2 +- > suggestion/suggestion.pl | 4 ++-- > 3 files changed, 4 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >index 76226a0..3544029 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc >@@ -42,7 +42,7 @@ > <option value="pl">Publisher location</option> > > [%# Use non-normalized st-year instead of st-numeric, %] >- [%# since pubdate can include 'u' to signify unkown %] >+ [%# since pubdate can include 'u' to signify unknown %] > [%# dates. See "Legal Characters" at: %] > [%# http://www.loc.gov/marc/bibliographic/bd008a.html %] > [%# This search is also for date ranges due to the %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc >index 7560fc2..82ff775 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc >@@ -9,7 +9,7 @@ > var NOT_CHECKED_OUT = _("not checked out"); > var TOO_MANY_RENEWALS = _("too many renewals"); > var ON_RESERVE = _("on hold"); >- var REASON_UNKNOWN = _("reason unkown"); >+ var REASON_UNKNOWN = _("reason unknown"); > var TODAYS_CHECKOUTS = _("Today's checkouts"); > var PREVIOUS_CHECKOUTS = _("Previous checkouts"); > var BY = _("by _AUTHOR_"); >diff --git a/suggestion/suggestion.pl b/suggestion/suggestion.pl >index fb97762..acaaf5d 100755 >--- a/suggestion/suggestion.pl >+++ b/suggestion/suggestion.pl >@@ -58,7 +58,7 @@ sub GetCriteriumDesc{ > if ($displayby =~ /status/i) { > unless ( grep { /$criteriumvalue/ } qw(ASKED ACCEPTED REJECTED CHECKED ORDERED AVAILABLE) ) { > my $av = Koha::AuthorisedValues->search({ category => 'SUGGEST_STATUS', authorised_value => $criteriumvalue }); >- return $av->count ? $av->next->lib : 'Unkown'; >+ return $av->count ? $av->next->lib : 'Unknown'; > } > return ($criteriumvalue eq 'ASKED'?"Pending":ucfirst(lc( $criteriumvalue))) if ($displayby =~/status/i); > } >@@ -66,7 +66,7 @@ sub GetCriteriumDesc{ > if $displayby =~ /branchcode/; > if ( $displayby =~ /itemtype/ ) { > my $av = Koha::AuthorisedValues->search({ category => 'SUGGEST_FORMAT', authorised_value => $criteriumvalue }); >- return $av->count ? $av->next->lib : 'Unkown'; >+ return $av->count ? $av->next->lib : 'Unknown'; > } > if ($displayby =~/suggestedby/||$displayby =~/managedby/||$displayby =~/acceptedby/){ > my $borr=C4::Members::GetMember(borrowernumber=>$criteriumvalue); >-- >2.1.4
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 18839
:
64496
|
64497
|
64499
|
64500
|
64553
|
64695
|
65029