Repository navigation
🔄 Changed
- An
orderingis taken only from the contract: one ofordering_fields, in either direction, or thedefault_orderingitself. A contract withoutordering_fieldsused to accept anyordering, sort the list by whatever column of the model it named and write the values of that column into the cursors; it now refuses one withValueError. Lists built onQueryParamswere never affected: it passes an ordering only for a contract that declares ordering fields.
🐛 Fixed
- An
EXACTsearch skips an integer column when the term is a number out of the range of the column's type. The database refused the whole statement for such a number: a phone number typed into the search of a list with anintsearch field ended in an error. - An
EXACTsearch skips aDecimalcolumn for a term that is no number, and a cursor with such a value is refused as malformed withValueError. Both raiseddecimal.InvalidOperation.
Full Changelog: v0.0.1...v0.0.2