mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
lib: Add SimpleQuery::clearOrder()
This commit is contained in:
parent
d4c1ca9e18
commit
78989c0aad
@ -382,6 +382,17 @@ class SimpleQuery implements QueryInterface, Queryable, Iterator
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clear the order if any
|
||||||
|
*
|
||||||
|
* @return $this
|
||||||
|
*/
|
||||||
|
public function clearOrder()
|
||||||
|
{
|
||||||
|
$this->order = array();
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Whether an order is set
|
* Whether an order is set
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user