[web/request] Restore attribute setting for search_state
This was dropped in 1f84295bfe95 when `search_state` attribute was turned into
a property, but without a setter. So adding a setter here restoring previous
behaviour, as some tests and cubes use it.
Related to #4875761.
--- a/web/request.py Mon Feb 09 12:52:15 2015 +0100
+++ b/web/request.py Wed Mar 25 10:10:24 2015 +0100
@@ -368,6 +368,10 @@
self._load_search_state(searchstate)
return self._search_state
+ @search_state.setter
+ def search_state(self, searchstate):
+ self._search_state = searchstate
+
def update_search_state(self):
"""update the current search state if needed"""
searchstate = self.form.get('__mode')