| @@ 267-278 (lines=12) @@ | ||
| 264 | ||
| 265 | if ($this->hasModel()) { |
|
| 266 | $property = $filter->property(); |
|
| 267 | if ($property) { |
|
| 268 | $p = $this->model()->p($property); |
|
| 269 | if ($p) { |
|
| 270 | if ($p->l10n()) { |
|
| 271 | $filter->setProperty($p->l10nIdent()); |
|
| 272 | } |
|
| 273 | ||
| 274 | if ($p->multiple()) { |
|
| 275 | $filter->setOperator('FIND_IN_SET'); |
|
| 276 | } |
|
| 277 | } |
|
| 278 | } |
|
| 279 | } |
|
| 280 | ||
| 281 | $this->filters[] = $filter; |
|
| @@ 355-365 (lines=11) @@ | ||
| 352 | ); |
|
| 353 | } |
|
| 354 | ||
| 355 | if ($this->hasModel()) { |
|
| 356 | $property = $order->property(); |
|
| 357 | if ($property) { |
|
| 358 | $p = $this->model()->p($property); |
|
| 359 | if ($p) { |
|
| 360 | if ($p->l10n()) { |
|
| 361 | $order->setProperty($p->l10nIdent()); |
|
| 362 | } |
|
| 363 | } |
|
| 364 | } |
|
| 365 | } |
|
| 366 | ||
| 367 | $this->orders[] = $order; |
|
| 368 | ||