Bugzilla – Attachment 86575 Details for
Bug 22237
Subscriptions are not linked to Mana upon edit
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22237: Subscriptions are not linked to Mana upon edit
Bug-22237-Subscriptions-are-not-linked-to-Mana-upo.patch (text/plain), 2.34 KB, created by
Alex Arnaud
on 2019-03-13 15:56:28 UTC
(
hide
)
Description:
Bug 22237: Subscriptions are not linked to Mana upon edit
Filename:
MIME Type:
Creator:
Alex Arnaud
Created:
2019-03-13 15:56:28 UTC
Size:
2.34 KB
patch
obsolete
>From d99a4f75dc96cac3f6d3cc0792393eaccfcb650c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 30 Jan 2019 17:13:35 +0000 >Subject: [PATCH] Bug 22237: Subscriptions are not linked to Mana upon edit > >This patch modifies C4/Serials.pm so that during the process of editing >a subscription a link to Mana can be created. > >To test, apply the patch and go to Serials. > > - Locate a subscription which was not created using Mana data but which > can be found in Mana. > - Edit the subscription, skipping to the second page. > - View the results returned by Mana and select one. > - Save the subscription. > - Upon being redirected to the subscription detail page you should see > a "Report mistake" button. This shows that the subscription has been > linked to Mana successfully. > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com> >--- > C4/Serials.pm | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index 66c1f90..f8c17b9 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -1308,7 +1308,7 @@ sub ModSubscription { > $biblionumber, $callnumber, $notes, $letter, $manualhistory, > $internalnotes, $serialsadditems, $staffdisplaycount, $opacdisplaycount, > $graceperiod, $location, $enddate, $subscriptionid, $skip_serialseq, >- $itemtype, $previousitemtype >+ $itemtype, $previousitemtype, $mana_id > ) = @_; > > my $dbh = C4::Context->dbh; >@@ -1321,7 +1321,7 @@ sub ModSubscription { > callnumber=?, notes=?, letter=?, manualhistory=?, > internalnotes=?, serialsadditems=?, staffdisplaycount=?, > opacdisplaycount=?, graceperiod=?, location = ?, enddate=?, >- skip_serialseq=?, itemtype=?, previousitemtype=? >+ skip_serialseq=?, itemtype=?, previousitemtype=?, mana_id=? > WHERE subscriptionid = ?"; > > my $sth = $dbh->prepare($query); >@@ -1335,7 +1335,7 @@ sub ModSubscription { > $letter, ($manualhistory ? $manualhistory : 0), > $internalnotes, $serialsadditems, $staffdisplaycount, $opacdisplaycount, > $graceperiod, $location, $enddate, $skip_serialseq, >- $itemtype, $previousitemtype, >+ $itemtype, $previousitemtype, $mana_id, > $subscriptionid > ); > my $rows = $sth->rows; >-- >2.7.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 22237
:
84533
|
86028
| 86575