Allow multiple quarters to be selected from search string, as long as they match the start with.
build_develop / build (push) Successful in 49s

This commit is contained in:
2024-05-11 13:34:30 -04:00
parent ad3da6f2c6
commit 24ae0fe21f
+1 -1
View File
@@ -48,7 +48,7 @@ class ViewCog(commands.Cog, name="View Commands"):
if quarter_name:
df = pd.read_sql_query(
sql=session.query(ParticipationPoints)
.where(ParticipationPoints.Cycle == quarter_name)
.where(ParticipationPoints.Cycle.startswith(quarter_name))
.statement,
con=engine,
)