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.6,1.27.2.7


From: Henri-Damien LAURENT
Subject: [Koha-cvs] CVS: koha/acqui.simple additem.pl,1.27.2.6,1.27.2.7
Date: Tue, 04 Oct 2005 03:13:18 -0700

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

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

Index: additem.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/additem.pl,v
retrieving revision 1.27.2.6
retrieving revision 1.27.2.7
diff -C2 -r1.27.2.6 -r1.27.2.7
*** additem.pl  28 Sep 2005 14:43:12 -0000      1.27.2.6
--- additem.pl  4 Oct 2005 10:13:16 -0000       1.27.2.7
***************
*** 182,188 ****
        }
  }
! if (my $subfcode=C4::Context->preference('SortItemsBy')){
!       @big_array = sort {$a->{$subfcode} cmp $b->{$subfcode}} @big_array;
! }
  
  # now, construct template !
--- 182,187 ----
        }
  }
! my ($holdingbrtagf,$holdingbrtagsubf) = 
&MARCfind_marc_from_kohafield($dbh,"items.holdingbranch",$itemtype);
! @big_array = sort {$a->{$holdingbrtagsubf} cmp $b->{$holdingbrtagsubf}} 
@big_array;
  
  # now, construct template !




reply via email to

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