Index: BuyFrame.xml
===================================================================
--- BuyFrame.xml (revision 263)
+++ BuyFrame.xml (working copy)
@@ -825,7 +825,7 @@
end
-
+
Index: QueryAuctions.lua
===================================================================
--- QueryAuctions.lua (revision 263)
+++ QueryAuctions.lua (working copy)
@@ -83,6 +83,9 @@
if name ~= nil and
(not Query.getAll or (Query.page == 0 and Query.listing == nil)) then
+ local exact = false;
+ exact = Query.exact and name:len() <= MAX_QUERY_BYTES;
+
-- Truncate to avoid disconnects.
name = self:Truncate(name, MAX_QUERY_BYTES);
@@ -102,7 +105,7 @@
-- Submit the query.
OurQuery = true;
QueryAuctionItems(name, 0, 0, 0, 0, 0, Query.page, 0, 0, getAll,
- Query.exact);
+ exact);
OurQuery = false;
-- Wait for our result.