Commit 40f48037 authored by Rushabh Mehta's avatar Rushabh Mehta Committed by GitHub
Browse files

Merge pull request #3960 from rmehta/search-icon-fix-1

[fix] search icon for reportview
parents 224a06ee 8c49f0b7
Showing with 5 additions and 0 deletions
+5 -0
......@@ -127,6 +127,7 @@ frappe.views.ListView = frappe.ui.BaseList.extend({
return;
}
this.is_list_view = true;
this.page_name = 'List/' + this.doctype;
this.dirty = true;
this.tags_shown = false;
......
......@@ -185,6 +185,10 @@ frappe.ui.BaseList = Class.extend({
}
if (this.meta) {
if(this.is_list_view) {
$(`<span class="octicon octicon-search text-muted small"></span>`)
.prependTo(this.page.page_form);
}
this.page.add_field({
fieldtype: 'Data',
label: 'ID',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment