protected function _applySearchParameters(\MUtil_Model_ModelAbstract $model, $useStored = false)
 {
     $data = $this->getCachedRequestData();
     // Make sure page and items parameters are not added to the search statement
     unset($data['page'], $data['items']);
     $data = $model->applyParameters($data);
     if ($filter = $this->getDataFilter($data)) {
         $model->addFilter($filter);
         // \MUtil_Echo::track($filter, $data, $model->getFilter());
     }
     if ($this->sortKey) {
         $model->addSort($this->sortKey);
     }
 }
 /**
  * Use this when overruling processFilterAndSort()
  *
  * Overrule to implement snippet specific filtering and sorting.
  *
  * @param \MUtil_Model_ModelAbstract $model
  */
 protected function processSortOnly(\MUtil_Model_ModelAbstract $model)
 {
     if ($this->request) {
         if ($sort = $this->request->getParam($model->getSortParamAsc())) {
             $model->addSort(array($sort => SORT_ASC));
         } elseif ($sort = $this->request->getParam($model->getSortParamDesc())) {
             $model->addSort(array($sort => SORT_DESC));
         }
     }
 }