11using System ;
2- using System . Collections ;
32using System . Collections . Generic ;
43using System . ComponentModel ;
54using System . Globalization ;
@@ -217,7 +216,7 @@ async Task UpdateActionAsync()
217216 {
218217 // Indicate if to clear existing results so to show only ones from plugins with action keywords
219218 var query = item . Query ;
220- var currentIsHomeQuery = item . IsHomeQuery ;
219+ var currentIsHomeQuery = query . IsHomeQuery ;
221220 var shouldClearExistingResults = ShouldClearExistingResultsForQuery ( query , currentIsHomeQuery ) ;
222221 _lastQuery = item . Query ;
223222 _previousIsHomeQuery = currentIsHomeQuery ;
@@ -279,7 +278,7 @@ public void RegisterResultsUpdatedEvent()
279278 App . API . LogDebug ( ClassName , $ "Update results for plugin <{ pair . Metadata . Name } >") ;
280279
281280 if ( ! _resultsUpdateChannelWriter . TryWrite ( new ResultsForUpdate ( resultsCopy , pair . Metadata , e . Query ,
282- false , token ) ) )
281+ token ) ) )
283282 {
284283 App . API . LogError ( ClassName , "Unable to add item to Result Update Queue" ) ;
285284 }
@@ -1271,7 +1270,7 @@ private async Task QueryResultsAsync(bool searchDelay, bool isReQuery = false, b
12711270
12721271 App . API . LogDebug ( ClassName , $ "Start query with ActionKeyword <{ query . ActionKeyword } > and RawQuery <{ query . RawQuery } >") ;
12731272
1274- var currentIsHomeQuery = query . RawQuery == string . Empty ;
1273+ var currentIsHomeQuery = query . IsHomeQuery ;
12751274
12761275 _updateSource ? . Dispose ( ) ;
12771276
@@ -1446,7 +1445,7 @@ await PluginManager.QueryHomeForPluginAsync(plugin, query, token) :
14461445 App . API . LogDebug ( ClassName , $ "Update results for plugin <{ plugin . Metadata . Name } >") ;
14471446
14481447 if ( ! _resultsUpdateChannelWriter . TryWrite ( new ResultsForUpdate ( resultsCopy , plugin . Metadata , query ,
1449- currentIsHomeQuery , token , reSelect ) ) )
1448+ token , reSelect ) ) )
14501449 {
14511450 App . API . LogError ( ClassName , "Unable to add item to Result Update Queue" ) ;
14521451 }
@@ -1464,7 +1463,7 @@ void QueryHistoryTask(CancellationToken token)
14641463 App . API . LogDebug ( ClassName , $ "Update results for history") ;
14651464
14661465 if ( ! _resultsUpdateChannelWriter . TryWrite ( new ResultsForUpdate ( results , _historyMetadata , query ,
1467- currentIsHomeQuery , token , reSelect ) ) )
1466+ token , reSelect ) ) )
14681467 {
14691468 App . API . LogError ( ClassName , "Unable to add item to Result Update Queue" ) ;
14701469 }
0 commit comments