public function processListQueryOrderBy() {
		if (!empty($this->values['\Object\Form\Model\Dummy\Sort'])) {
			foreach ($this->values['\Object\Form\Model\Dummy\Sort'] as $k => $v) {
				if (!empty($v['__sort'])) {
					$name = $this->detail_fields['\Object\Form\Model\Dummy\Sort']['elements']['__sort']['options']['options'][$v['__sort']]['name'];
					$this->misc_settings['list']['sort'][$name] = $v['__order'];
					$this->query->orderby([$v['__sort'] => $v['__order']]);
				}
			}
		}
	}
public function processListQueryOrderBy() {
		if (!empty($this->values['\Object\Form\Model\Dummy\Sort'])) {
			foreach ($this->values['\Object\Form\Model\Dummy\Sort'] as $k => $v) {
				if (!empty($v['__sort'])) {
					$name = $this->detail_fields['\Object\Form\Model\Dummy\Sort']['elements']['__sort']['options']['options'][$v['__sort']]['name'];
					$this->misc_settings['list']['sort'][$name] = $v['__order'];
					$this->query->orderby([$v['__sort'] => $v['__order']]);
				}
			}
		}
	}
public function processListQueryOrderBy ( ) { if ( ! empty ( $ this -> values [ '\Object\Form\Model\Dummy\Sort' ] ) ) { foreach ( $ this -> values [ '\Object\Form\Model\Dummy\Sort' ] as $ k => $ v ) { if ( ! empty ( $ v [ '__sort' ] ) ) { $ name = $ this -> detail_fields [ '\Object\Form\Model\Dummy\Sort' ] [ 'elements' ] [ '__sort' ] [ 'options' ] [ 'options' ] [ $ v [ '__sort' ] ] [ 'name' ] ; $ this -> misc_settings [ 'list' ] [ 'sort' ] [ $ name ] = $ v [ '__order' ] ; $ this -> query -> orderby ( [ $ v [ '__sort' ] => $ v [ '__order' ] ] ) ; } } } }
Process list query order by clause
Process list query order by clause