From 0c222f66ee8be7f8f9a566653d2960a22ae08f59 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 25 Oct 2021 12:34:51 -0400 Subject: [PATCH] Add sort_asc, sort_field and limit to the filter QueryString --- web/includes/Filter.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web/includes/Filter.php b/web/includes/Filter.php index 3578a1d62..a155d97a8 100644 --- a/web/includes/Filter.php +++ b/web/includes/Filter.php @@ -60,6 +60,9 @@ class Filter extends ZM_Object { foreach ( $this->FilterTerms() as $term ) { $this->_querystring .= $term->querystring($objectname, $separator); } # 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() ) { $this->_querystring .= $separator.$objectname.urlencode('[Id]').'='.$this->Id(); }