Bugzilla – Attachment 29191 Details for
Bug 8438
Allow staff to only claim serial issues of their own branch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8438: Users can only claim for serials related to their branch.
Bug-8438-Users-can-only-claim-for-serials-related-.patch (text/plain), 1.70 KB, created by
Jonathan Druart
on 2014-06-24 14:10:07 UTC
(
hide
)
Description:
Bug 8438: Users can only claim for serials related to their branch.
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-06-24 14:10:07 UTC
Size:
1.70 KB
patch
obsolete
>From e31d6d4ffa8e40b8bc9b5f55962d902dc806bc49 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Thu, 23 Aug 2012 13:53:21 +0200 >Subject: [PATCH] Bug 8438: Users can only claim for serials related to their > branch. > >Only superlibrarian users and users with superserials permission >can override this limitation. >The original author of this patch is Julian Maurice. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt | 2 ++ > serials/claims.pl | 5 +++++ > 2 files changed, 7 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >index de9102e..6291904 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt >@@ -275,7 +275,9 @@ > <tbody>[% FOREACH missingissue IN missingissues %] > <tr> > <td> >+ [% UNLESS missingissue.cannot_claim %] > <input type="checkbox" name="serialid" value="[% missingissue.serialid %]" /> >+ [% END %] > </td> > <td> > [% missingissue.name %] >diff --git a/serials/claims.pl b/serials/claims.pl >index 13167d7..b4d5130 100755 >--- a/serials/claims.pl >+++ b/serials/claims.pl >@@ -67,6 +67,11 @@ if ($supplierid) { > @supplierinfo=GetBookSeller($supplierid); > } > >+foreach my $issue (@missingissues) { >+ $issue->{cannot_claim} = 1 >+ unless C4::Serials::can_edit_subscription($issue); >+} >+ > my $branchloop = GetBranchesLoop(); > > my $preview=0; >-- >2.0.0.rc2
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 8438
:
11778
|
12842
|
24074
|
26399
|
26400
|
29098
|
29099
|
29191
|
29192
|
29211
|
29212
|
35177
|
35178
|
35305
|
35306
|
35311
|
35312
|
43560