Skip to content

Commit 3047c6f

Browse files
author
Alexandra Nantel
committed
Remove deprecated param from buildSortingSQL
1 parent fe24dda commit 3047c6f

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
}
@@ -1022,6 +1022,11 @@ public function buildSortingSelectSQL($sort, $order = 'ASC')
10221022
return null;
10231023
}
10241024

1025+
public function buildSortingSelectSQL($sort, $order = 'ASC')
1026+
{
1027+
return null;
1028+
}
1029+
10251030
/*-------------------------------------------------------------------------
10261031
Grouping:
10271032
-------------------------------------------------------------------------*/

0 commit comments

Comments
 (0)