aboutsummaryrefslogtreecommitdiff
path: root/src/DatabaseCommands.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/DatabaseCommands.cxx')
-rw-r--r--src/DatabaseCommands.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/DatabaseCommands.cxx b/src/DatabaseCommands.cxx
index e0449e9c..9dbe4e47 100644
--- a/src/DatabaseCommands.cxx
+++ b/src/DatabaseCommands.cxx
@@ -67,8 +67,11 @@ handle_match(struct client *client, int argc, char *argv[], bool fold_case)
return COMMAND_RETURN_ERROR;
}
+ const DatabaseSelection selection("", true, list);
+
GError *error = NULL;
- enum command_return ret = findSongsIn(client, "", list, &error)
+ enum command_return ret =
+ db_selection_print(client, selection, true, &error)
? COMMAND_RETURN_OK
: print_error(client, error);