Skip to content

Commit

Permalink
perf: index in Item and Item Variant Attribute (backport #36133) (#…
Browse files Browse the repository at this point in the history
…36144)

* perf: index `variant_of` and `attribute` in `Item Variant Attribute`

(cherry picked from commit e4128a5)

* perf: index `disabled` in `Item`

(cherry picked from commit 04400eb)

---------

Co-authored-by: s-aga-r <sagarsharma.s312@gmail.com>
  • Loading branch information
mergify[bot] and s-aga-r authored Jul 15, 2023
1 parent 68d35b0 commit 6198983
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 358 deletions.
5 changes: 3 additions & 2 deletions erpnext/stock/doctype/item/item.json
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@
"default": "0",
"fieldname": "disabled",
"fieldtype": "Check",
"label": "Disabled"
"label": "Disabled",
"search_index": 1
},
{
"default": "0",
Expand Down Expand Up @@ -911,7 +912,7 @@
"index_web_pages_for_search": 1,
"links": [],
"make_attachments_public": 1,
"modified": "2023-02-14 04:48:26.343620",
"modified": "2023-07-14 17:18:18.658942",
"modified_by": "Administrator",
"module": "Stock",
"name": "Item",
Expand Down
Loading

0 comments on commit 6198983

Please sign in to comment.