web/views/magicsearch.py
branchtls-sprint
changeset 1138 22f634977c95
parent 984 536e421b082b
child 1172 959b0e177660
equal deleted inserted replaced
1135:00eb43688a57 1138:22f634977c95
   185     preprocessing query in shortcut form to their RQL form
   185     preprocessing query in shortcut form to their RQL form
   186     """
   186     """
   187     priority = 4
   187     priority = 4
   188     
   188     
   189     def preprocess_query(self, uquery, req):
   189     def preprocess_query(self, uquery, req):
   190         """"""
   190         """try to get rql from an unicode query string"""
   191         args = None
   191         args = None
   192         self.req = req
   192         self.req = req
   193         try:
   193         try:
   194             # Process as if there was a quoted part
   194             # Process as if there was a quoted part
   195             args = self._quoted_words_query(uquery)
   195             args = self._quoted_words_query(uquery)