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

Henri-Damien LAURENT hdl at users.sourceforge.net
Wed Sep 28 16:35:59 CEST 2005


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

Modified Files:
      Tag: rel_2_2
	MARCdetail.pl 
Log Message:
ordering search results by branch.
Adding independant Branch Management to getBranches in Koha.pm

Index: MARCdetail.pl
===================================================================
RCS file: /cvsroot/koha/koha/MARCdetail.pl,v
retrieving revision 1.25.2.11
retrieving revision 1.25.2.12
diff -C2 -r1.25.2.11 -r1.25.2.12
*** MARCdetail.pl	23 Sep 2005 11:10:44 -0000	1.25.2.11
--- MARCdetail.pl	28 Sep 2005 14:35:57 -0000	1.25.2.12
***************
*** 200,203 ****
--- 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)) {





More information about the Koha-cvs mailing list