home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Speed up testing with unittest-parallel.
[plomtask]
/
plomtask
/
conditions.py
diff --git
a/plomtask/conditions.py
b/plomtask/conditions.py
index 8ab4282080b4898f8d08da4e443f8ac3d64131ee..d2559272cd876c5b071b59437998e3356409cd07 100644
(file)
--- a/
plomtask/conditions.py
+++ b/
plomtask/conditions.py
@@
-12,6
+12,7
@@
class Condition(BaseModel[int]):
table_name = 'conditions'
to_save = ['is_active']
to_save_versioned = ['title', 'description']
table_name = 'conditions'
to_save = ['is_active']
to_save_versioned = ['title', 'description']
+ to_search = ['title.newest', 'description.newest']
def __init__(self, id_: int | None, is_active: bool = False) -> None:
super().__init__(id_)
def __init__(self, id_: int | None, is_active: bool = False) -> None:
super().__init__(id_)