File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -698,17 +698,14 @@ def record(
698698 record_header , table_tuples , total_count = _DJConnector ._fetch_records (
699699 query = dj_table ,
700700 ** {
701- k : (
702- int (v )
703- if k in ("limit" , "page" )
704- else (
705- v .split ("," )
706- if k == "order"
707- else loads (b64decode (v .encode ("utf-8" )).decode ("utf-8" ))
708- )
709- )
701+ k : int (v ) for k , v in request .args .items () if k in ("limit" , "page" )
702+ },
703+ ** {
704+ k : loads (b64decode (v .encode ("utf-8" )).decode ("utf-8" ))
710705 for k , v in request .args .items ()
706+ if k == "restriction"
711707 },
708+ ** {k : v .split ("," ) for k , v in request .args .items () if k == "order" },
712709 )
713710 return dict (
714711 recordHeader = record_header , records = table_tuples , totalCount = total_count
You can’t perform that action at this time.
0 commit comments