Lines 823-828
foreach my $tag ( keys %{$tagslib}){
Link Here
|
823 |
} |
823 |
} |
824 |
@loop_data = sort {$a->{subfield} cmp $b->{subfield} } @loop_data; |
824 |
@loop_data = sort {$a->{subfield} cmp $b->{subfield} } @loop_data; |
825 |
|
825 |
|
|
|
826 |
#These are needed to target the right <select> element to receive shelving location AJAX-updates when the homebranch is changed. |
827 |
my ($shelvingLocationMarcTag, $shelvingLocationMarcSubfield) = C4::Biblio::GetMarcFromKohaField( "items.location", $frameworkcode ); |
828 |
my ($homebranchMarcTag, $homebranchMarcSubfield) = C4::Biblio::GetMarcFromKohaField( "items.homebranch", $frameworkcode ); |
829 |
|
826 |
# what's the next op ? it's what we are not in : an add if we're editing, otherwise, and edit. |
830 |
# what's the next op ? it's what we are not in : an add if we're editing, otherwise, and edit. |
827 |
$template->param( title => $record->title() ) if ($record ne "-1"); |
831 |
$template->param( title => $record->title() ) if ($record ne "-1"); |
828 |
$template->param( |
832 |
$template->param( |
Lines 840-845
$template->param(
Link Here
|
840 |
opisadd => ($nextop eq "saveitem") ? 0 : 1, |
844 |
opisadd => ($nextop eq "saveitem") ? 0 : 1, |
841 |
popup => $input->param('popup') ? 1: 0, |
845 |
popup => $input->param('popup') ? 1: 0, |
842 |
C4::Search::enabled_staff_search_views, |
846 |
C4::Search::enabled_staff_search_views, |
|
|
847 |
shelvingLocationMarcTag => $shelvingLocationMarcTag, |
848 |
shelvingLocationMarcSubfield => $shelvingLocationMarcSubfield, |
849 |
homebranchMarcTag => $homebranchMarcTag, |
850 |
homebranchMarcSubfield => $homebranchMarcSubfield, |
843 |
); |
851 |
); |
844 |
$template->{'VARS'}->{'searchid'} = $searchid; |
852 |
$template->{'VARS'}->{'searchid'} = $searchid; |
845 |
|
853 |
|