Skip to content

Commit a3c1420

Browse files
ref issue #42 - turn off debug
1 parent 7fd1032 commit a3c1420

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ func searchDatabaseEntry(term string) (error, []Entry) {
339339
if err == nil && db != nil {
340340
searchTerm = fmt.Sprintf("%%%s%%", term)
341341
// Search on fields title, user, url and notes and tags.
342-
query := db.Debug().Where(fmt.Sprintf("title like \"%s\"", searchTerm))
342+
query := db.Where(fmt.Sprintf("title like \"%s\"", searchTerm))
343343

344344
for _, field := range[]string{"user", "url", "notes", "tags"} {
345345
query = query.Or(fmt.Sprintf("%s like \"%s\"", field, searchTerm))

0 commit comments

Comments
 (0)