Skip to content

Commit

Permalink
Merge pull request #408 from PanDAWMS/tania_dev
Browse files Browse the repository at this point in the history
core | add framework column to JediTask model
  • Loading branch information
tkorchug authored Nov 20, 2024
2 parents ab220bd + 7c488e4 commit 5adc0ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/common/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ class JediTasksBase(models.Model):
memoryleakcore = models.BigIntegerField(null=True, db_column='memory_leak_core', blank=True)
memoryleakx2 = models.BigIntegerField(null=True, db_column='memory_leak_x2', blank=True)
modificationtime = models.DateTimeField(db_column='realmodificationtime')
framework = models.CharField(max_length=100, db_column='framework', blank=True)

def get_fields_by_type(self, ftype='integer'):
field_list = [str(f.name) for f in self._meta.fields if ftype in str(f.description).lower()]
Expand Down
2 changes: 1 addition & 1 deletion core/libs/sqlcustom.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def preprocess_wild_card_string(strToProcess, fieldToLookAt, **kwargs):
for parameter in cardParametersRaw:
leadStar = False
trailStar = False
if len(parameter) > 0:
if currentParCount < countParameters - 1:

if currentParCount - 1 >= 0:
leadStar = True
Expand Down

0 comments on commit 5adc0ee

Please sign in to comment.