oops forgot again

Signed-off-by: 0x189D7997 <199489335+0x189D7997@users.noreply.github.com>
This commit is contained in:
0x189D7997 2026-04-04 13:35:06 +00:00 committed by GitHub
parent 4151db6c94
commit fdd1a5dde8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -163,7 +163,7 @@ void ResourceModel::search()
};
auto project = std::make_shared<ModPlatform::IndexedPack>();
project->addonId = projectId;
if (auto job = m_api->getProjectInfo({ project }, std::move(callbacks)); job)
if (auto job = m_api->getProjectInfo({ project }, std::move(callbacks), false); job)
runSearchJob(job);
return;
}

View file

@ -166,7 +166,7 @@ void ListModel::performPaginatedSearch()
{
static const FlameAPI api;
// activate id search only for numerical values because all CurseForge ids are numerical
// activate search by id only for numerical values because all CurseForge ids are numerical
static const QRegularExpression s_projectIdExpr("^\\#[0-9]+$");
if (m_searchState != ResetRequested && s_projectIdExpr.match(m_currentSearchTerm).hasMatch()) {
auto projectId = m_currentSearchTerm.mid(1);