Dotclear


Ignore:
Timestamp:
03/16/12 09:13:56 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
formfilters
Message:

Tuned formfilters. Added sortby and order to filter form

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/class.dc.filter.php

    r783 r804  
    236236                         if ($this->eextra != null) { 
    237237                              $this->eextra->save(); 
    238                               $this->eextra->updateRequestParams($data); 
    239238                         } 
    240239                         http::redirect($this->action.'?'.http_build_query($data,'','&')); 
     
    260259               } 
    261260               if ($load_from_settings) { 
    262                     $get = new ArrayObject($this->loadFilters()); 
    263                     if ($this->eextra != null) { 
    264                          $this->eextra->load(); 
    265                          $this->eextra->updateRequestParams($get); 
    266                     } 
     261                    $get = new ArrayObject(array_merge($this->loadFilters(),$get)); 
    267262               } 
    268263               $this->initializeFromData($this->efilters, $this->eextra, $get); 
    269264               $this->initializeFromData($this->lfilters, $this->lextra, $get); 
     265 
    270266          } 
    271267     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map