SQL error with postgresql on top menu #1304
This commit is contained in:
parent
5e310c9416
commit
1bce96473d
@ -252,9 +252,9 @@ class DmsfQuery < Query
|
||||
CAST(NULL AS #{get_integer_type}) AS author,
|
||||
'project' AS type,
|
||||
CAST(0 AS #{get_integer_type}) AS deleted,
|
||||
0 AS sort#{cf_columns},
|
||||
'' as customized_type,
|
||||
0 as customized_id}).visible
|
||||
0 as customized_id,
|
||||
0 AS sort#{cf_columns}}).visible
|
||||
if dmsf_folder_id || deleted
|
||||
scope.none
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user