public function apachesolr_views_query::add_sort in Apache Solr Views 7
Same name and namespace in other branches
- 6 apachesolr_views_query.inc \apachesolr_views_query::add_sort()
File
- ./
apachesolr_views_query.inc, line 194 - Views query plugin for Apache Solr Views. Gets its data not from the database, but from a Solr server.
Class
- apachesolr_views_query
- @file Views query plugin for Apache Solr Views. Gets its data not from the database, but from a Solr server.
Code
public function add_sort($field, $order) {
$this->orderby[] = "{$field} {$order}";
}