01-16-2020, 02:24 PM
The wrapper class that usually draws this is "src/tactic/ui/panel/ViewPanelWdg". This is usually invoke in Python as:
from tactic.ui.panel import ViewPanelWdg
layout = ViewPanelWdg(search_type, **kwargs)
Now there are a lot of options that can go into kwargs and various parts of the interface can be hidden for specific views. The advanced search can be hidden by invoking:
kwargs = {
show_advanced_search: False
}
This can also translated into a custom view in the html as such:
<div>
<element>
<display class="tactic.ui.panel.CustomLayoutWdg">
<search_type>vfx/shot</search_type>
<show_advanced_search>false</show_advanced_search>
</display>
</element>
</div>
So it really depends what is actually invoking this view. I can also tell you are using some older version of TACTIC ... maybe 4.5. To have multiple search criteria, in 4.5, we used something called a simple search, which was a basic layout of a bunch of filters.
A lot has changed in newer versions in terms of configuration, where we have basically started to merge the simple search and advanced search, allowing custom filters to be mixed in with the general filters.
from tactic.ui.panel import ViewPanelWdg
layout = ViewPanelWdg(search_type, **kwargs)
Now there are a lot of options that can go into kwargs and various parts of the interface can be hidden for specific views. The advanced search can be hidden by invoking:
kwargs = {
show_advanced_search: False
}
This can also translated into a custom view in the html as such:
<div>
<element>
<display class="tactic.ui.panel.CustomLayoutWdg">
<search_type>vfx/shot</search_type>
<show_advanced_search>false</show_advanced_search>
</display>
</element>
</div>
So it really depends what is actually invoking this view. I can also tell you are using some older version of TACTIC ... maybe 4.5. To have multiple search criteria, in 4.5, we used something called a simple search, which was a basic layout of a bunch of filters.
A lot has changed in newer versions in terms of configuration, where we have basically started to merge the simple search and advanced search, allowing custom filters to be mixed in with the general filters.