Skip to content

Commit 8e4afdd

Browse files
author
Alexandra Nantel
committed
Remove deprecated param from buildSortingSQL
1 parent bb76f1d commit 8e4afdd

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

fields/field.selectbox_link.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -962,7 +962,7 @@ private function getRelatedFieldsId() {
962962
return explode(',', $related_field_id);
963963
}
964964

965-
public function buildSortingSQL(&$joins, &$where, &$sort, $order='ASC', &$select = NULL){
965+
public function buildSortingSQL(&$joins, &$where, &$sort, $order='ASC'){
966966
if(in_array(strtolower($order), array('random', 'rand'))) {
967967
$sort = 'ORDER BY RAND()';
968968
}
@@ -995,6 +995,11 @@ public function buildSortingSQL(&$joins, &$where, &$sort, $order='ASC', &$select
995995
}
996996
}
997997

998+
public function buildSortingSelectSQL($sort, $order = 'ASC')
999+
{
1000+
return null;
1001+
}
1002+
9981003
/*-------------------------------------------------------------------------
9991004
Grouping:
10001005
-------------------------------------------------------------------------*/

0 commit comments

Comments
 (0)