[Koha-cvs] CVS: koha/acqui.simple additem.pl,1.27.2.5,1.27.2.6

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


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

Modified Files:
      Tag: rel_2_2
	additem.pl 
Log Message:
ordening items by branch

Index: additem.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/additem.pl,v
retrieving revision 1.27.2.5
retrieving revision 1.27.2.6
diff -C2 -r1.27.2.5 -r1.27.2.6
*** additem.pl	26 Aug 2005 12:21:49 -0000	1.27.2.5
--- additem.pl	28 Sep 2005 14:43:12 -0000	1.27.2.6
***************
*** 182,185 ****
--- 182,189 ----
  	}
  }
+ if (my $subfcode=C4::Context->preference('SortItemsBy')){
+ 	@big_array = sort {$a->{$subfcode} cmp $b->{$subfcode}} @big_array;
+ }
+ 
  # now, construct template !
  my @item_value_loop;





More information about the Koha-cvs mailing list