Browse Source

bugfix #1

master v0.1.2
HerrHase 3 years ago
parent
commit
1a00622480
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      composer.json
  2. +1
    -1
      src/QueryBuilder/ItemsQueryBuilder.php

+ 1
- 1
composer.json View File

@ -1,6 +1,6 @@
{
"name": "tentakelfabrik/pirectus",
"version": "0.1.1",
"version": "0.1.2",
"type": "library",
"license": "MIT",
"authors": [


+ 1
- 1
src/QueryBuilder/ItemsQueryBuilder.php View File

@ -222,7 +222,7 @@ class ItemsQueryBuilder extends AbstractQueryBuilder
*/
public function aliases(string $field, string $alias)
{
$this->query['parameters']['alias'][$field] = $alias;
$this->query['parameters']['alias'][$alias] = $field;
return $this;
}


Loading…
Cancel
Save