

def _get_group_by_args(self):
    """
        Get page arguments for group by
    """
    group_by = request.args.get('group_by')
    if not group_by: group_by = ''
    return group_by

def _get_page_args(self):
    """
        Get page arguments, returns a dictionary
        { <VIEW_NAME>: PAGE_NUMBER }
    
        Arguments are passed: page_<VIEW_NAME>=<PAGE_NUMBER>
    
    """
    pages = {}
    for arg in request.args:
        re_match = re.findall('page_(.*)', arg)
        if re_match:
            pages[re_match[0]] = int(request.args.get(arg))
    return pages

def _get_page_size_args(self):
    """
        Get page size arguments, returns an int
        { <VIEW_NAME>: PAGE_NUMBER }
    
        Arguments are passed: psize_<VIEW_NAME>=<PAGE_SIZE>
    
    """
    page_sizes = {}
    for arg in request.args:
        re_match = re.findall('psize_(.*)', arg)
        if re_match:
            page_sizes[re_match[0]] = int(request.args.get(arg))
    return page_sizes
        
def _get_order_args(self):
    """
        Get order arguments, return a dictionary
        { <VIEW_NAME>: (ORDER_COL, ORDER_DIRECTION) }
    
        Arguments are passed like: _oc_<VIEW_NAME>=<COL_NAME>&_od_<VIEW_NAME>='asc'|'desc'
    
    """
    orders = {}
    for arg in request.args:
        re_match = re.findall('_oc_(.*)', arg)
        if re_match:
            orders[re_match[0]] = (request.args.get(arg),request.args.get('_od_' + re_match[0]))
    return orders

def _get_filter_args(self):
    self._filters.clear_filters()
    for arg in request.args:
        re_match = re.findall('_flt_(\d)_(.*)', arg)
        if re_match:
            self._filters.add_filter_index(re_match[0][1], int(re_match[0][0]), request.args.get(arg))

@@ -1,19 +1,17 @@
-%0A
 %0Adef 
-_
 get_group_by
@@ -12,28 +12,24 @@
 oup_by_args(
-self
 ):%0A    %22%22%22%0A 
@@ -175,25 +175,24 @@
 oup_by%0A%0Adef 
-_
 get_page_arg
@@ -189,28 +189,24 @@
 t_page_args(
-self
 ):%0A    %22%22%22%0A 
@@ -560,25 +560,24 @@
  pages%0A%0Adef 
-_
 get_page_siz
@@ -579,28 +579,24 @@
 e_size_args(
-self
 ):%0A    %22%22%22%0A 
@@ -972,25 +972,24 @@
        %0Adef 
-_
 get_order_ar
@@ -987,28 +987,24 @@
 _order_args(
-self
 ):%0A    %22%22%22%0A 
@@ -1447,17 +1447,16 @@
 rs%0A%0Adef 
-_
 get_filt
@@ -1467,25 +1467,22 @@
 rgs(
-self
+filters
 ):%0A    
-self._
 filt
@@ -1596,32 +1596,32 @@
    if re_match:%0A
+
             self
@@ -1620,14 +1620,8 @@
     
-self._
 filt

Update urltools.py