Skip to content

Commit

Permalink
fix: like filter from meta filters (#26311)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed May 3, 2024
1 parent 5e25d2d commit 8e76a94
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions frappe/public/js/frappe/form/controls/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -596,10 +596,6 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat
let filters = {};
link_filters.forEach((filter) => {
let [_, fieldname, operator, value] = filter;
if (operator === "like") {
value = String(value).replace(/%/g, "");
}

if (value?.startsWith?.("eval:")) {
// get the value to calculate
value = value.split("eval:")[1];
Expand Down

0 comments on commit 8e76a94

Please sign in to comment.