sqlite: +db_get_files_data

This commit is contained in:
2026-05-04 18:22:10 +03:00
parent 17671b38bc
commit 4b8778487c
5 changed files with 167 additions and 24 deletions
+2 -2
View File
@@ -62,9 +62,9 @@ void file_list(session *sess, server_data_t *s_d, i_file_list_t *f_args) {
args.sort_by = ID;
args.sort_direction = ASC;
if (f_args->name != NULL) {
strcpy(args.name, f_args->name);
strcpy(args.search_str, f_args->name);
} else {
args.name[0] = '\0';
args.search_str[0] = '\0';
}
count = db_get_files_data(&args, &fl_start, &full_count);