How hide some fields in filter on DocType list page?

I see all fields from doc type during filter.

I try to hide not needed with “in_filter” = 0 option, but looks like it doesn’t work

Help me please hide them

{
“allow_on_submit”: 0,
“collapsible”: 0,
“fieldname”: “column_break1”,
“fieldtype”: “Column Break”,
“hidden”: 0,
“in_filter”: 0,
“in_list_view”: 0,
“length”: 0,
“no_copy”: 0,
“oldfieldtype”: “Column Break”,
“permlevel”: 0,
“read_only”: 0,
“unique”: 0,
“width”: “50%”
},

And of course I have error when choose this filter

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 879, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/reportview.py”, line 16, in get
data = compress(execute(**args))
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/reportview.py”, line 21, in execute
return DatabaseQuery(doctype).execute(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py”, line 80, in execute
result = self.build_and_run()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/db_query.py”, line 104, in build_and_run
return frappe.db.sql(query, as_dict=not self.as_list, debug=self.debug, update=self.update)
File “/home/frappe/frappe-bench/apps/frappe/frappe/database.py”, line 148, in sql
self._cursor.execute(query)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py”, line 205, in execute
self.errorhandler(self, exc, value)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py”, line 36, in defaulterrorhandler
raise errorclass, errorvalue
OperationalError: (1054, “Unknown column ‘tabCustom Note.column_break1’ in ‘order clause’”)

@Katerina_Romanchuk,

Are you editing directly in the json file?

Chris
Bai Web and Mobile Labs
https://bai.ph

Yes I editing JSON file

@Katerina_Romanchuk

I think JSON file is not meant to edit directly you should edit in the UI

Chris
Bai Web and Mobile Labs
https://bai.ph