mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2025-10-29 17:25:32 +00:00
Basis Suche Inhalte
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package dbmodels
|
||||
|
||||
import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/Theodor-Springmann-Stiftung/musenalm/helpers/datatypes"
|
||||
@@ -146,7 +147,7 @@ func (q *FTS5Query) Query() string {
|
||||
query += " { " + strings.Join(m.Fields, " ") + " } : \"" + q.Escape(m.Value) + "\""
|
||||
}
|
||||
|
||||
query += "'"
|
||||
query += "' LIMIT " + strconv.Itoa(FTS_LIMIT)
|
||||
return query
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user