Changeset 0c653b5 in tailbone


Ignore:
Timestamp:
06/27/18 10:26:37 (2 years ago)
Author:
Lance Edgar <lance@…>
Branches:
master
Children:
88a8922
Parents:
f92123c
Message:

Fix input validation for integer grid filter

sometimes a default is provided as int

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tailbone/grids/filters.py

    rf92123c r0c653b5  
    469469    def value_invalid(self, value):
    470470        if value:
     471            if isinstance(value, int):
     472                return True
    471473            if not value.isdigit():
    472474                return True
Note: See TracChangeset for help on using the changeset viewer.