methods eq() from finder can have now a table name
This commit is contained in:
@@ -99,7 +99,7 @@ void FunThread::PrepareThread(long file_id)
|
||||
where().
|
||||
in(L"id", id_tab).
|
||||
eq(L"type", static_cast<int>(Item::file)).
|
||||
eq(L"content.file_type", WINIX_ITEM_FILETYPE_NONE).
|
||||
eq(L"content", L"file_type", WINIX_ITEM_FILETYPE_NONE).
|
||||
get_vector();
|
||||
|
||||
if( system->mounts.pmount->IsArg(thread_info->mount_par_thread, L"sort_desc") )
|
||||
|
||||
@@ -120,7 +120,7 @@ void ShowThreads::ReadFiles()
|
||||
where().
|
||||
eq(L"parent_id", cur->request->dir_tab.back()->id).
|
||||
eq(L"type", static_cast<int>(Item::file)).
|
||||
eq(L"content.file_type", WINIX_ITEM_FILETYPE_NONE).
|
||||
eq(L"content", L"file_type", WINIX_ITEM_FILETYPE_NONE).
|
||||
get_vector();
|
||||
|
||||
//db->GetItems(thread_info->item_tab, iq);
|
||||
|
||||
Reference in New Issue
Block a user