koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Henri-Damien LAURENT
Subject: [Koha-cvs] CVS: koha/acqui.simple additem.pl,1.27.2.5,1.27.2.6
Date: Wed, 28 Sep 2005 07:43:14 -0700

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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]