[CHANGE] Update serverside datatables docs

This commit is contained in:
Peter Pfeufer
2026-01-20 08:22:25 +00:00
committed by Ariel Rin
parent ee132b6e60
commit df6a25067d
11 changed files with 99 additions and 18 deletions

View File

@@ -115,7 +115,7 @@ class DataTablesView(View):
_type = str(c["columnControl"]["search"]["type"])
if _type == "text":
if _logic == "notEmpty":
except_qs |= Q(**{f'{_c}': ""})
except_qs |= Q(**{f'{_c}': ""})
elif len(_sv) > 0:
if _logic == "notContains":
except_qs |= Q(**{f'{_c}__icontains': _sv})
@@ -123,7 +123,7 @@ class DataTablesView(View):
except_qs |= Q(**{f'{_c}': _sv})
elif _type == "num":
if _logic == "notEmpty":
except_qs |= Q(**{f'{_c}__isnull': False})
except_qs |= Q(**{f'{_c}__isnull': False})
elif len(_sv) > 0:
if _logic == "notEqual":
try: