Merge pull request #38282 from iamejaaz/sticky-header
feat: sticky header on list view
This commit is contained in:
commit
ada4df8f0f
2 changed files with 4 additions and 3 deletions
|
|
@ -84,7 +84,7 @@ def _apply_date_field_filter_conversion(value, operator: str, doctype: str, fiel
|
|||
elif isinstance(value, datetime.datetime):
|
||||
return value.date()
|
||||
|
||||
except AttributeError, TypeError, KeyError:
|
||||
except (AttributeError, TypeError, KeyError):
|
||||
pass
|
||||
|
||||
return value
|
||||
|
|
@ -672,7 +672,7 @@ class Engine:
|
|||
else:
|
||||
try:
|
||||
fallback_value = int(fallback_sql)
|
||||
except ValueError, TypeError:
|
||||
except (ValueError, TypeError):
|
||||
fallback_value = fallback_sql
|
||||
|
||||
return operator_fn(_field, ValueWrapper(fallback_value))
|
||||
|
|
@ -701,7 +701,7 @@ class Engine:
|
|||
else:
|
||||
try:
|
||||
fallback_value = int(fallback_sql)
|
||||
except ValueError, TypeError:
|
||||
except (ValueError, TypeError):
|
||||
fallback_value = fallback_sql
|
||||
|
||||
if fallback_value == _value:
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
.frappe-list {
|
||||
.result-container {
|
||||
.result {
|
||||
display: table;
|
||||
min-width: 100%;
|
||||
width: auto;
|
||||
.list-row-container {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue