From 8b6c64bb94169162020b9972270bb8976d2cba7a Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Fri, 10 Feb 2017 18:58:12 +0100 Subject: [PATCH] refactoring --- tabs/post/core.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tabs/post/core.lua b/tabs/post/core.lua index fefcf3f..56fcc42 100644 --- a/tabs/post/core.lua +++ b/tabs/post/core.lua @@ -469,11 +469,10 @@ end function refresh_entries() if selected_item then - local item_id, suffix_id = selected_item.item_id, selected_item.suffix_id - local item_key = item_id .. ':' .. suffix_id + local item_key = selected_item.key bid_selection, buyout_selection = nil, nil bid_records[item_key], buyout_records[item_key] = nil, nil - local query = scan_util.item_query(item_id) + local query = scan_util.item_query(selected_item.item_id) status_bar:update_status(0,0) status_bar:set_text('Scanning auctions...')