mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-09-03 20:52:57 -05:00
Some clumsy coding related fixes reported by SonarQube.
This commit is contained in:
committed by
Akshay Joshi
parent
a23fad0ba8
commit
641f7bbe9d
@@ -252,9 +252,9 @@ class SQLFilter(object):
|
||||
if self._row_filter is None or self._row_filter == '':
|
||||
is_filter_applied = False
|
||||
|
||||
if not is_filter_applied:
|
||||
if self._data_sorting and len(self._data_sorting) > 0:
|
||||
is_filter_applied = True
|
||||
if not is_filter_applied and \
|
||||
self._data_sorting and len(self._data_sorting) > 0:
|
||||
is_filter_applied = True
|
||||
|
||||
return is_filter_applied
|
||||
|
||||
|
||||
Reference in New Issue
Block a user