knguyen     2005/04/28 15:18:18 CEST

  Modified files:        (Branch: JAHIA-4-1-BRANCH)
    src/view/jsp/include filters.inc 
  Log:
  - use Float format when sorting peoples by rates
  
  Revision  Changes    Path
  1.6.4.2   +1 -1      
corporate_portal_templates/src/view/jsp/include/filters.inc
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/corporate_portal_templates/src/view/jsp/include/filters.inc.diff?r1=1.6.4.1&r2=1.6.4.2&f=h
  
  
  
  Index: filters.inc
  ===================================================================
  RCS file: 
/home/cvs/repository/corporate_portal_templates/src/view/jsp/include/filters.inc,v
  retrieving revision 1.6.4.1
  retrieving revision 1.6.4.2
  diff -u -r1.6.4.1 -r1.6.4.2
  --- filters.inc       2 Mar 2005 15:43:10 -0000       1.6.4.1
  +++ filters.inc       28 Apr 2005 13:18:18 -0000      1.6.4.2
  @@ -138,7 +138,7 @@
                ContainerSorterBean sorter = null;
                if ( peopleSort.equals("directoryPeopleRate") ){
                        // we can force the sort comparison to convert field 
value to number representation (long)
  -                     sorter = new 
ContainerSorterBean("directoryPeopleContainer",jParams,peopleSort,true, 
jParams.getEntryLoadRequest());
  +                     sorter = new 
ContainerSorterBean("directoryPeopleContainer",jParams,peopleSort,true, 
org.jahia.data.containers.NumberFormats.FLOAT_FORMAT, 
jParams.getEntryLoadRequest());
                } else {
                        // for all other field, we use the default String sort 
comparison
                        sorter = new 
ContainerSorterBean("directoryPeopleContainer",jParams,peopleSort, 
jParams.getEntryLoadRequest());
  

Reply via email to