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:
@@ -2,7 +2,6 @@ package dbmodels
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"strconv"
|
||||
"strings"
|
||||
"unicode"
|
||||
@@ -162,7 +161,6 @@ func NormalizeQuery(query string) Query {
|
||||
}
|
||||
|
||||
for _, r := range query {
|
||||
fmt.Printf("Rune: %v\n", r)
|
||||
if r == '"' {
|
||||
if isInQuotes {
|
||||
addToken()
|
||||
@@ -185,12 +183,6 @@ func NormalizeQuery(query string) Query {
|
||||
at()
|
||||
}
|
||||
|
||||
fmt.Printf("Query: %v\n", query)
|
||||
fmt.Printf("Include: %v\n", include)
|
||||
fmt.Printf("Exclude: %v\n", exclude)
|
||||
fmt.Printf("UnsafeI: %v\n", unsafeI)
|
||||
fmt.Printf("UnsafeE: %v\n", unsafeE)
|
||||
|
||||
return Query{
|
||||
Include: include,
|
||||
Exclude: exclude,
|
||||
|
||||
Reference in New Issue
Block a user