mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-24 05:51:38 +02:00
Remove arbitrary limit of only supporting 10 custom columns
This commit is contained in:
parent
f8b515c328
commit
166661dd7f
@ -943,8 +943,7 @@ func getAllCustomColumnNames(ctx context.Context) ([]string, error) {
|
||||
SELECT DISTINCT json_extract(value, '$.name') as cc_name
|
||||
FROM history_entries
|
||||
JOIN json_each(custom_columns)
|
||||
WHERE value IS NOT NULL
|
||||
LIMIT 10`
|
||||
WHERE value IS NOT NULL`
|
||||
return db.Raw(query).Rows()
|
||||
})
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user