Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Classes/TradeQueryRequests.lua
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function TradeQueryRequestsClass:SearchWithQueryWeightAdjusted(realm, league, qu
if errMsg and ((errMsg == "No Matching Results Found" and currentRecursion >= maxRecursion) or errMsg ~= "No Matching Results Found") then
return callback(nil, errMsg)
end
if (response.total > self.maxFetchPerSearch and response.total < 10000) or currentRecursion >= maxRecursion then
if (response.total >= self.maxFetchPerSearch and response.total < 10000) or currentRecursion >= maxRecursion then
-- Search not clipped or max recursion reached, fetch results and finalize
if previousSearchItems and self.maxFetchPerSearch > response.total then
-- Not enough items in the last search, fill results from previous search
Expand Down
Loading