|
Lines 56-61
for ($damaged,$itemlost,$withdrawn) {
Link Here
|
| 56 |
} |
56 |
} |
| 57 |
} |
57 |
} |
| 58 |
|
58 |
|
|
|
59 |
my $alerts = q{}; |
| 60 |
|
| 59 |
# modify MARC item if input differs from items table. |
61 |
# modify MARC item if input differs from items table. |
| 60 |
if ( $op eq "set_non_public_note" ) { |
62 |
if ( $op eq "set_non_public_note" ) { |
| 61 |
checkauth($cgi, 0, {editcatalogue => 'edit_items'}, 'intranet'); |
63 |
checkauth($cgi, 0, {editcatalogue => 'edit_items'}, 'intranet'); |
|
Lines 74-79
elsif ( $op eq "set_public_note" ) { # i.e., itemnotes parameter passed from for
Link Here
|
| 74 |
$item->withdrawn($withdrawn); |
76 |
$item->withdrawn($withdrawn); |
| 75 |
} elsif ( $op eq "set_exclude_priority" && $exclude_from_local_holds_priority ne $item_data_hashref->{'exclude_from_local_holds_priority'}) { |
77 |
} elsif ( $op eq "set_exclude_priority" && $exclude_from_local_holds_priority ne $item_data_hashref->{'exclude_from_local_holds_priority'}) { |
| 76 |
$item->exclude_from_local_holds_priority($exclude_from_local_holds_priority); |
78 |
$item->exclude_from_local_holds_priority($exclude_from_local_holds_priority); |
|
|
79 |
$alerts = "updated_exclude_from_local_holds_priority=$exclude_from_local_holds_priority&"; |
| 77 |
} elsif ( $op eq "set_damaged" && $damaged ne $item_data_hashref->{'damaged'}) { |
80 |
} elsif ( $op eq "set_damaged" && $damaged ne $item_data_hashref->{'damaged'}) { |
| 78 |
$item->damaged($damaged); |
81 |
$item->damaged($damaged); |
| 79 |
} else { |
82 |
} else { |
|
Lines 86-89
$item->store;
Link Here
|
| 86 |
|
89 |
|
| 87 |
LostItem($itemnumber, 'moredetail') if $op eq "set_lost"; |
90 |
LostItem($itemnumber, 'moredetail') if $op eq "set_lost"; |
| 88 |
|
91 |
|
| 89 |
print $cgi->redirect("moredetail.pl?biblionumber=$biblionumber&itemnumber=$itemnumber#item$itemnumber"); |
92 |
print $cgi->redirect("moredetail.pl?" . $alerts . "biblionumber=$biblionumber&itemnumber=$itemnumber#item$itemnumber"); |