search interface upgrade, search history
This commit is contained in:
+2
-3
@@ -655,7 +655,7 @@ local methods = {
|
||||
ChatFrameEditBox:Insert(this.row.data.record.hyperlink)
|
||||
elseif Aux.unmodified() and button == 'RightButton' then -- TODO not when alt (how?)
|
||||
Aux.tab_group:set_tab(1)
|
||||
Aux.search_frame.start_search(strlower(Aux.info.item(this.row.data.record.item_id).name)..'/exact')
|
||||
Aux.search_frame.execute('search', strlower(Aux.info.item(this.row.data.record.item_id).name)..'/exact')
|
||||
else
|
||||
local selection = this.rt:GetSelection()
|
||||
if not selection or selection.record ~= this.row.data.record then
|
||||
@@ -854,9 +854,8 @@ local methods = {
|
||||
-- General Results Table Methods
|
||||
-- ============================================================================
|
||||
|
||||
Clear = function(rt)
|
||||
Reset = function(rt)
|
||||
Aux.util.wipe(rt.expanded)
|
||||
Aux.util.wipe(rt.records)
|
||||
rt:UpdateRowInfo()
|
||||
rt:UpdateRows()
|
||||
rt:SetSelectedRecord()
|
||||
|
||||
Reference in New Issue
Block a user