search interface upgrade, search history

This commit is contained in:
Manuel Simon Hirsig
2016-07-12 02:32:01 +02:00
parent 885cdce515
commit adaf8bef1e
7 changed files with 95 additions and 124 deletions
+2 -3
View File
@@ -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()