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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (+3 lines)
Lines 1087-1092 Link Here
1087
            [% IF ( opac_user_holds ) %]
1087
            [% IF ( opac_user_holds ) %]
1088
                $("#opac-user-views a[href='#opac-user-holds_panel']").tab("show");
1088
                $("#opac-user-views a[href='#opac-user-holds_panel']").tab("show");
1089
            [% END %]
1089
            [% END %]
1090
            [% IF ( opac_user_article_requests ) %]
1091
                $("#opac-user-views a[href='#opac-user-article-requests_panel']").tab("show");
1092
            [% END %]
1090
            $('#opac-user-article-requests caption .count').html(AR_CAPTION_COUNT.format('[% current_article_requests.size | html %]'));
1093
            $('#opac-user-article-requests caption .count').html(AR_CAPTION_COUNT.format('[% current_article_requests.size | html %]'));
1091
1094
1092
            $(".modal-nojs").addClass("modal").addClass("hide").removeClass("modal-nojs");
1095
            $(".modal-nojs").addClass("modal").addClass("hide").removeClass("modal-nojs");
(-)a/opac/opac-request-article.pl (-1 / +1 lines)
Lines 102-108 if ( $action eq 'create' ) { Link Here
102
    };
102
    };
103
103
104
    if ( $success ) {
104
    if ( $success ) {
105
        print $cgi->redirect("/cgi-bin/koha/opac-user.pl#opac-user-article-requests");
105
        print $cgi->redirect("/cgi-bin/koha/opac-user.pl?opac-user-article-requests=1");
106
        exit;
106
        exit;
107
    }
107
    }
108
# Should we redirect?
108
# Should we redirect?
(-)a/opac/opac-user.pl (-1 / +1 lines)
Lines 419-424 $template->param( Link Here
419
    OpacHoldNotes            => C4::Context->preference('OpacHoldNotes'),
419
    OpacHoldNotes            => C4::Context->preference('OpacHoldNotes'),
420
    failed_holds             => scalar $query->param('failed_holds'),
420
    failed_holds             => scalar $query->param('failed_holds'),
421
    opac_user_holds          => scalar $query->param('opac-user-holds') || 0,
421
    opac_user_holds          => scalar $query->param('opac-user-holds') || 0,
422
    opac_user_article_requests => scalar $query->param('opac-user-article-requests') || 0,
422
);
423
);
423
424
424
# if not an empty string this indicates to return
425
# if not an empty string this indicates to return
425
- 

Return to bug 35496