now searching two pages instead of one for buying
This commit is contained in:
@@ -186,7 +186,7 @@ function AuxBuyEntry_OnClick(entry_index)
|
|||||||
PlaySound("igMainMenuOptionCheckBoxOn")
|
PlaySound("igMainMenuOptionCheckBoxOn")
|
||||||
|
|
||||||
local found
|
local found
|
||||||
local order_key = Aux.auction_key(entry.tooltip, entry.stack_size, amount)
|
local order_key = Aux.auction_key(entry.tooltip, entry.stack_size, amount)
|
||||||
|
|
||||||
Aux.scan.start{
|
Aux.scan.start{
|
||||||
query = search_query,
|
query = search_query,
|
||||||
@@ -260,6 +260,11 @@ function AuxBuyEntry_OnClick(entry_index)
|
|||||||
AuxBuySearchButton:Enable()
|
AuxBuySearchButton:Enable()
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
next_page = function(page, total_pages)
|
||||||
|
if not page or page == entry.page then
|
||||||
|
return entry.page - 1
|
||||||
|
end
|
||||||
|
end,
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user