mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
Fixes #213 (MySQL syntax error)
This commit is contained in:
parent
db64478d9f
commit
d047dafd23
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ class GroupConcat(models.Aggregate):
|
|||
|
||||
def _get_template(self, separator):
|
||||
if self.engine == self.ENGINE_MYSQL:
|
||||
return "%(function)s(%(expressions)s, SEPARATOR '{}')".format(
|
||||
return "%(function)s(%(expressions)s SEPARATOR '{}')".format(
|
||||
separator)
|
||||
return "%(function)s(%(expressions)s, '{}')".format(separator)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue