Add sort_asc, sort_field and limit to the filter QueryString
This commit is contained in:
parent
8afed25d18
commit
0c222f66ee
|
@ -60,6 +60,9 @@ class Filter extends ZM_Object {
|
||||||
foreach ( $this->FilterTerms() as $term ) {
|
foreach ( $this->FilterTerms() as $term ) {
|
||||||
$this->_querystring .= $term->querystring($objectname, $separator);
|
$this->_querystring .= $term->querystring($objectname, $separator);
|
||||||
} # end foreach term
|
} # end foreach term
|
||||||
|
$this->_querystring .= $separator.urlencode($objectname.'[Query][sort_asc]').'='.$this->sort_asc();
|
||||||
|
$this->_querystring .= $separator.urlencode($objectname.'[Query][sort_field]').'='.$this->sort_field();
|
||||||
|
$this->_querystring .= $separator.urlencode($objectname.'[Query][limit]').'='.$this->limit();
|
||||||
if ( $this->Id() ) {
|
if ( $this->Id() ) {
|
||||||
$this->_querystring .= $separator.$objectname.urlencode('[Id]').'='.$this->Id();
|
$this->_querystring .= $separator.$objectname.urlencode('[Id]').'='.$this->Id();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue