Merge branch 'development' of https://git.aduanasoft.com/ADUANASOFT/anexo76 into development
# Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
This commit is contained in:
@@ -61,6 +61,9 @@ class DodaService:
|
||||
if filters.get("patent"):
|
||||
query = query.filter(
|
||||
Doda.patent.ilike(f"%{filters['patent']}%"))
|
||||
if filters.get("operation_type"):
|
||||
query = query.filter(
|
||||
Doda.operation_type == filters["operation_type"])
|
||||
|
||||
total = query.count()
|
||||
dodas = query.offset(skip).limit(limit).all()
|
||||
|
||||
Reference in New Issue
Block a user