We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e879b0e commit e9e697fCopy full SHA for e9e697f
actions.go
@@ -511,12 +511,15 @@ func findCurrentEntry(term string) error {
511
512
var err error
513
var entries []Entry
514
+ var terms []string
515
516
if err = checkActiveDatabase(); err != nil {
517
return err
518
}
519
- err, entries = searchDatabaseEntry(term)
520
+ terms = strings.Split(term, " ")
521
+
522
+ err, entries = searchDatabaseEntries(terms, "AND")
523
if err != nil || len(entries) == 0 {
524
fmt.Printf("Entry for query \"%s\" not found\n", term)
525
0 commit comments