{% set cur_dir = '-' if order_by and order_by.startswith('-') else '' %} {% set cur_col = order_by[1:] if order_by and order_by.startswith('-') else (order_by or '') %}