Bugzilla – Attachment 28953 Details for
Bug 7677
Subscriptions: Ability to define default itemtype and automatically change itemtype of older issues on receive of next issue
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
BZ7677 [Follow-up]: New areas in subscriptions and new functions when receiving.
BZ7677-Follow-up-New-areas-in-subscriptions-and-ne.patch (text/plain), 1.22 KB, created by
Jonathan Druart
on 2014-06-18 15:37:34 UTC
(
hide
)
Description:
BZ7677 [Follow-up]: New areas in subscriptions and new functions when receiving.
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-06-18 15:37:34 UTC
Size:
1.22 KB
patch
obsolete
>From 341dba422ee93fae975504b739eb823dc4263989 Mon Sep 17 00:00:00 2001 >From: Matthias Meusburger <matthias.meusburger@biblibre.com> >Date: Tue, 29 Apr 2014 15:17:21 +0200 >Subject: [PATCH] BZ7677 [Follow-up]: New areas in subscriptions and new > functions when receiving. > > - Make the newly received serial gets its default itemtype from the subscription. >--- > C4/Items.pm | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/C4/Items.pm b/C4/Items.pm >index c183644..bda8732 100644 >--- a/C4/Items.pm >+++ b/C4/Items.pm >@@ -2782,6 +2782,9 @@ sub PrepareItemrecordDisplay { > while ( my ( $itemtype, $description ) = $sth->fetchrow_array ) { > push @authorised_values, $itemtype; > $authorised_lib{$itemtype} = $description; >+ # If we have default value named itemtype or itemtypes, we use it >+ $defaultvalue = $itemtype if ($defaultvalues and ($defaultvalues->{'itemtypes'} eq $itemtype or $defaultvalues->{'itemtype'} eq $itemtype)); >+ > } > #---- class_sources > } elsif ( $tagslib->{$tag}->{$subfield}->{authorised_value} eq "cn_source" ) { >-- >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 7677
:
16339
|
16425
|
16456
|
20537
|
20538
|
24099
|
24635
|
25980
|
25981
|
25983
|
27774
|
28950
|
28951
|
28952
|
28953
|
29570
|
29571
|
29572
|
34220
|
34221
|
34222
|
34223
|
34665
|
36389
|
36446
|
36448
|
36449
|
36450
|
36451
|
36452
|
36453
|
36679
|
36680
|
36681
|
36682
|
36683
|
42923
|
42924
|
45938
|
45939
|
45940
|
45941
|
45942
|
45943
|
46216
|
47475
|
52010
|
54876
|
55000
|
55323
|
55466
|
55467
|
55468
|
55469
|
55470
|
55471
|
55472
|
55473
|
55474
|
55475