made basic newest/oldest week/month/year part of gui actually retreive what we want, and have a title per grouping, but the grouping title is hard-coded for now, will need more data to do a better test, also hacky submit button for now until I decide how to enact the gui change requested

This commit is contained in:
2021-01-30 23:26:52 +11:00
parent 98d4c7d43e
commit 2db7f59a40
3 changed files with 57 additions and 16 deletions

View File

@@ -260,9 +260,9 @@ def ProcessImportDirs(parent_job=None):
job2.extra.append(jex2)
session.add(job2)
session.commit()
"""
if parent_job:
AddLogForJob(parent_job, "adding <a href='/job/{}'>job id={} {}</a> (wait for: {})".format( job2.id, job2.id, job2.name, job2.wait_for ) )
"""
jex3=JobExtra( name="path", value=path )
job3=Job(start_time=now, last_update=now, name="processai", state="New", wait_for=job2.id, pa_job_state="New", current_file_num=0 )
job3.extra.append(jex3)