i want to customise the options from filters button, Any way to do it?
example i want to remove options such, Like,Not Like from this list.
frappe.ui.Filter = class {
constructor(opts) {
$.extend(this, opts);
if (this.value === null || this.value === undefined) {
this.value = “”;
}
this.utils = frappe.ui.filter_utils;
this.set_conditions();
this.set_conditions_from_config();
this.make();
}
frappe.views.Filter = class Filter extends {
set_conditions() {
this.conditions = [
["=", __("Equals")],
["!=", __("Not Equals")],
["like", __("Like")],
["not like", __("Not Like")],
["in", __("In")],
["not in", __("Not In")],
["is", __("Is")],
[">", ">"],
["<", "<"],
[">=", ">="],
["<=", "<="],
["Between", __("Between")],
["Timespan", __("Timespan")],
];