Bugzilla – Attachment 15436 Details for
Bug 8896
Delete serials no more missing from missinglist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8896: Delete serials no more missing from missinglist
Bug-8896-Delete-serials-no-more-missing-from-missi.patch (text/plain), 1.19 KB, created by
Chris Cormack
on 2013-02-17 08:00:28 UTC
(
hide
)
Description:
Bug 8896: Delete serials no more missing from missinglist
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2013-02-17 08:00:28 UTC
Size:
1.19 KB
patch
obsolete
>From be713857afee15437b70055a9fdcf9efb17b3d94 Mon Sep 17 00:00:00 2001 >From: Lyon3 Team <koha@univ-lyon3.fr> >Date: Thu, 17 Jan 2013 11:26:03 +0100 >Subject: [PATCH] Bug 8896: Delete serials no more missing from missinglist > >When manual history is disabled in subscription history section >if a serial has been previously set as missing and is received, >it will be deleted from missinglist. > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > C4/Serials.pm | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index 0b31a2b..d2eb560 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -1137,7 +1137,10 @@ sub ModSerialStatus { > $recievedlist .= "; $serialseq" > unless ( index( "$recievedlist", "$serialseq" ) >= 0 ); > } >- >+ # in case serial has been previously marked as missing >+ if (grep /$status/, (2,3,7)) { >+ $missinglist =~ s/[,;]?\s?$serialseq//g; >+ } > # warn "missinglist : $missinglist serialseq :$serialseq, ".index("$missinglist","$serialseq"); > $missinglist .= "; $serialseq" > if ( $status == 4 >-- >1.7.10.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 8896
:
12754
|
14657
|
15436
|
17275
|
17362
|
17363
|
17364
|
17365
|
17366
|
17577
|
17927
|
17928