Closed gbrault closed 11 months ago
I had some trouble running your code, but after removing the title=self.title
in the render_template function it worked.
return self.render_template(
self.list_template, views=_views, views_widgets=views_widgets, title=self.title
)
I see no problem doing it this way, since it doesnt override the self._views
Maybe create a pull request so it has this behaviour by default (but without the title)
@Yoyasp thanks for your trial. Yes, I maybe added the title which is not part of the original code!
I can close the request now!
The Multiview is displaying views in the order of coding dispite they are declared as a list.
it's there
Just change this function with
It will be ordered according to Mutiview declaration
For example
Will show the lists according to the views order in this last piece of code
@dpgaspar could you confirm passing _views instead of self._views is ok? Many THANKS.