Hello,
I want to add more search fields in advanced search page. Which file(s) should I customize?
Thanks in advance.
How to add field in advanced search? [SOLVED]
Re: How to add field in advanced search?
Find the search.py module for the app that has the model you want to add more fields to.
For example => For Tags.
Edit => https://gitlab.com/mayan-edms/mayan-edm ... /search.py
If you have a fictional tag field called "location", make the change:
For example => For Tags.
Edit => https://gitlab.com/mayan-edms/mayan-edm ... /search.py
If you have a fictional tag field called "location", make the change:
Code: Select all
tag_search.add_model_field(
field='location', label=_('Location')
)