View | Details | Raw Unified | Return to bug 18839
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/search_indexes.inc (-1 / +1 lines)
Lines 42-48 Link Here
42
    <option value="pl">Publisher location</option>
42
    <option value="pl">Publisher location</option>
43
43
44
    [%# Use non-normalized st-year instead of st-numeric, %]
44
    [%# Use non-normalized st-year instead of st-numeric, %]
45
    [%# since pubdate can include 'u' to signify unkown %]
45
    [%# since pubdate can include 'u' to signify unknown %]
46
    [%# dates. See "Legal Characters" at: %]
46
    [%# dates. See "Legal Characters" at: %]
47
    [%# http://www.loc.gov/marc/bibliographic/bd008a.html %]
47
    [%# http://www.loc.gov/marc/bibliographic/bd008a.html %]
48
    [%# This search is also for date ranges due to the %]
48
    [%# This search is also for date ranges due to the %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc (-1 / +1 lines)
Lines 9-15 Link Here
9
    var NOT_CHECKED_OUT = _("not checked out");
9
    var NOT_CHECKED_OUT = _("not checked out");
10
    var TOO_MANY_RENEWALS = _("too many renewals");
10
    var TOO_MANY_RENEWALS = _("too many renewals");
11
    var ON_RESERVE = _("on hold");
11
    var ON_RESERVE = _("on hold");
12
    var REASON_UNKNOWN = _("reason unkown");
12
    var REASON_UNKNOWN = _("reason unknown");
13
    var TODAYS_CHECKOUTS = _("Today's checkouts");
13
    var TODAYS_CHECKOUTS = _("Today's checkouts");
14
    var PREVIOUS_CHECKOUTS = _("Previous checkouts");
14
    var PREVIOUS_CHECKOUTS = _("Previous checkouts");
15
    var BY = _("by _AUTHOR_");
15
    var BY = _("by _AUTHOR_");
(-)a/suggestion/suggestion.pl (-3 / +2 lines)
Lines 58-64 sub GetCriteriumDesc{ Link Here
58
    if ($displayby =~ /status/i) {
58
    if ($displayby =~ /status/i) {
59
        unless ( grep { /$criteriumvalue/ } qw(ASKED ACCEPTED REJECTED CHECKED ORDERED AVAILABLE) ) {
59
        unless ( grep { /$criteriumvalue/ } qw(ASKED ACCEPTED REJECTED CHECKED ORDERED AVAILABLE) ) {
60
            my $av = Koha::AuthorisedValues->search({ category => 'SUGGEST_STATUS', authorised_value => $criteriumvalue });
60
            my $av = Koha::AuthorisedValues->search({ category => 'SUGGEST_STATUS', authorised_value => $criteriumvalue });
61
            return $av->count ? $av->next->lib : 'Unkown';
61
            return $av->count ? $av->next->lib : 'Unknown';
62
        }
62
        }
63
        return ($criteriumvalue eq 'ASKED'?"Pending":ucfirst(lc( $criteriumvalue))) if ($displayby =~/status/i);
63
        return ($criteriumvalue eq 'ASKED'?"Pending":ucfirst(lc( $criteriumvalue))) if ($displayby =~/status/i);
64
    }
64
    }
Lines 66-72 sub GetCriteriumDesc{ Link Here
66
        if $displayby =~ /branchcode/;
66
        if $displayby =~ /branchcode/;
67
    if ( $displayby =~ /itemtype/ ) {
67
    if ( $displayby =~ /itemtype/ ) {
68
        my $av = Koha::AuthorisedValues->search({ category => 'SUGGEST_FORMAT', authorised_value => $criteriumvalue });
68
        my $av = Koha::AuthorisedValues->search({ category => 'SUGGEST_FORMAT', authorised_value => $criteriumvalue });
69
        return $av->count ? $av->next->lib : 'Unkown';
69
        return $av->count ? $av->next->lib : 'Unknown';
70
    }
70
    }
71
    if ($displayby =~/suggestedby/||$displayby =~/managedby/||$displayby =~/acceptedby/){
71
    if ($displayby =~/suggestedby/||$displayby =~/managedby/||$displayby =~/acceptedby/){
72
        my $borr=C4::Members::GetMember(borrowernumber=>$criteriumvalue);
72
        my $borr=C4::Members::GetMember(borrowernumber=>$criteriumvalue);
73
- 

Return to bug 18839