* Fixed: #22 98 theme. Attachment selection checkbox are not all selectable
* Fixed: #26 98 theme. max column with
* Fixed: #25 98 design. Sort direction select does not show the correct selected option
+ * Fixed: #23 basic search result order
1.5 - Sacred Passage 2023-05-01
* Added google books parser. See upgrade file for more infos.
while(($result = $query->fetch_assoc()) != false) {
$_mObj = new Mancubus($this->_DB,$this->_User);
$_mObj->setCollection($result['id']);
- $_mObj->setQueryOptions(array('limit' => $entries));
if(!empty($search)) {
require_once 'lib/trite.class.php';
$_fd = $_colObj->getCollectionFields();
$_defSearchField = $_colObj->param('defaultSearchField');
+ $_mObj->setQueryOptions(array(
+ 'limit' => $entries,
+ 'sortDirection' => $_colObj->param('defaultSortOrder'),
+ 'sort' => $_colObj->param('defaultSortField')
+ ));
+ $_defSearchField = $_colObj->param('defaultSearchField');
+
if(!empty($_defSearchField)) {
$result['entries'] = $_mObj->getEntries(
array(