[Koha-cvs] CVS: koha MARCdetail.pl,1.25.2.12,1.25.2.13

Henri-Damien LAURENT hdl at users.sourceforge.net
Tue Oct 4 12:13:18 CEST 2005


Update of /cvsroot/koha/koha
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10417

Modified Files:
      Tag: rel_2_2
	MARCdetail.pl 
Log Message:
Ordening items on holding branch 
Modification in order to include Nonmarc structure

Index: MARCdetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/MARCdetail.pl,v
retrieving revision 1.25.2.12
retrieving revision 1.25.2.13
diff -C2 -r1.25.2.12 -r1.25.2.13
*** MARCdetail.pl	28 Sep 2005 14:35:57 -0000	1.25.2.12
--- MARCdetail.pl	4 Oct 2005 10:13:16 -0000	1.25.2.13
***************
*** 200,206 ****
  	}
  }
! if (my $subfcode=C4::Context->preference('SortItemsBy')){
! 	@big_array = sort {$a->{$subfcode} cmp $b->{$subfcode}} @big_array;
! }
  #fill big_row with missing datas
  foreach my $subfield_code  (keys(%witness)) {
--- 200,206 ----
  	}
  }
! my ($holdingbrtagf,$holdingbrtagsubf) = &MARCfind_marc_from_kohafield($dbh,"items.holdingbranch",$itemtype);
! @big_array = sort {$a->{$holdingbrtagsubf} cmp $b->{$holdingbrtagsubf}} @big_array;
! 
  #fill big_row with missing datas
  foreach my $subfield_code  (keys(%witness)) {





More information about the Koha-cvs mailing list