Bugzilla – Attachment 12754 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]
Delete serials no more missing from missinglist
0001-Delete-serials-no-more-missing-from-missinglist.patch (text/plain), 1.12 KB, created by
Koha Team University Lyon 3
on 2012-10-10 08:58:03 UTC
(
hide
)
Description:
Delete serials no more missing from missinglist
Filename:
MIME Type:
Creator:
Koha Team University Lyon 3
Created:
2012-10-10 08:58:03 UTC
Size:
1.12 KB
patch
obsolete
>From 155e4f633a7fb8dc62c307b04748b39bf3cd8aec Mon Sep 17 00:00:00 2001 >From: Lyon3 Team <koha@univ-lyon3.fr> >Date: Wed, 10 Oct 2012 10:11:11 +0200 >Subject: [PATCH] Delete serials no more missing from missinglist > >With manual history disabled, a serial prevously marked as missing was >not deleted from missinglist if received at the end or status changed to 'claimed or 'late' >--- > C4/Serials.pm | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index 574f88a..658a27f 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -1040,7 +1040,10 @@ sub ModSerialStatus { > $recievedlist .= "; $serialseq" > unless ( index( "$recievedlist", "$serialseq" ) >= 0 ); > } >- >+ # in case serial has been previously marked as missing >+ if ( $status ~~ (2,3,7)) { >+ $missinglist =~ s/[,;]?\s?$serialseq//g; >+ } > # warn "missinglist : $missinglist serialseq :$serialseq, ".index("$missinglist","$serialseq"); > $missinglist .= "; $serialseq" > if ( $status == 4 >-- >1.7.2.5 >
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