Browse Source

search: don't filter if there are no search terms

Updates #12.
pull/16/head
Daniel Martí 10 years ago
parent
commit
6c2086eb7c
  1. 5
      cmd/fdroidcl/search.go

5
cmd/fdroidcl/search.go

@ -46,7 +46,10 @@ func runSearch(args []string) {
if *installed || *updates {
device = mustOneDevice()
}
apps := filterAppsSearch(mustLoadIndexes(), args)
apps := mustLoadIndexes()
if len(args) > 0 {
apps = filterAppsSearch(apps, args)
}
if *installed {
apps = filterAppsInstalled(apps, device)
}

Loading…
Cancel
Save