Skip to content

Commit

Permalink
Update FindCustom.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan30 authored Jul 19, 2022
1 parent 9a67297 commit 5dc0bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/process/FindCustom.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ def run(self):
list_of_fields = self.database.select({
'select': ['positions', 'regex', 'pages'],
'table': ['positions_masks'],
'where': ['supplier_id = %s'],
'data': [self.supplier[2]['supplier_id']]
'where': ['supplier_id = %s', 'form_id = %s'],
'data': [self.supplier[2]['supplier_id'], self.form_id]
})
if list_of_fields:
list_of_fields = list_of_fields[0]
Expand Down

0 comments on commit 5dc0bbe

Please sign in to comment.