Skip to content

Commit

Permalink
Search results should not group by slot.
Browse files Browse the repository at this point in the history
  • Loading branch information
k9spud committed Nov 24, 2023
1 parent b507452 commit 7b08fb8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions browserview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2445,7 +2445,6 @@ void BrowserView::showQueryResult(QSqlQuery* query, QString result, QString sear
QString category;
QString app;
QString package;
QString slot;
QString version;
QString description;
QString keywords;
Expand All @@ -2454,7 +2453,6 @@ void BrowserView::showQueryResult(QSqlQuery* query, QString result, QString sear
QString bestPackage;
QString nextCategory;
QString nextPackage;
QString nextSlot;

QString bestMatchApps;
QString obsoletedApps;
Expand All @@ -2480,7 +2478,6 @@ void BrowserView::showQueryResult(QSqlQuery* query, QString result, QString sear
}
category = query->value(0).toString();
package = query->value(1).toString();
slot = query->value(8).toString();
installedVersions.clear();
obsoletedVersions.clear();
latestUnmaskedVersion.clear();
Expand Down Expand Up @@ -2525,10 +2522,9 @@ void BrowserView::showQueryResult(QSqlQuery* query, QString result, QString sear
{
nextCategory = query->value(0).toString();
nextPackage = query->value(1).toString();
nextSlot = query->value(8).toString();
}

if(exitLoop || nextCategory != category || nextPackage != package || nextSlot != slot)
if(exitLoop || nextCategory != category || nextPackage != package)
{
if(package.isEmpty() == false)
{
Expand Down Expand Up @@ -2585,7 +2581,6 @@ void BrowserView::showQueryResult(QSqlQuery* query, QString result, QString sear

category = nextCategory;
package = nextPackage;
slot = nextSlot;
installedVersions.clear();
obsoletedVersions.clear();
latestUnmaskedVersion.clear();
Expand Down

0 comments on commit 7b08fb8

Please sign in to comment.