mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-22 09:56:10 +01:00
parent
0c9f9542fb
commit
3cd2aa9095
2 changed files with 5 additions and 1 deletions
|
@ -126,7 +126,9 @@ class DateRepository extends Repository
|
||||||
|
|
||||||
$query->matching($query->logicalAnd($constraints));
|
$query->matching($query->logicalAnd($constraints));
|
||||||
|
|
||||||
$query->setOrderings([$demand->getSortBy() => $demand->getSortOrder()]);
|
if ($demand->getSortBy() && $demand->getSortOrder()) {
|
||||||
|
$query->setOrderings([$demand->getSortBy() => $demand->getSortOrder()]);
|
||||||
|
}
|
||||||
|
|
||||||
$callback = $demand->getQueryCalback();
|
$callback = $demand->getQueryCalback();
|
||||||
if ($callback !== '') {
|
if ($callback !== '') {
|
||||||
|
|
|
@ -34,6 +34,8 @@ Fixes
|
||||||
* Do not break while searching dates by search word.
|
* Do not break while searching dates by search word.
|
||||||
Properly search within location name instead of no longer existing event name column.
|
Properly search within location name instead of no longer existing event name column.
|
||||||
|
|
||||||
|
* Do not break on date list if no order is defined.
|
||||||
|
|
||||||
Tasks
|
Tasks
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue