Allow multiple quarters to be selected from search string, as long as they match the start with.
build_develop / build (push) Successful in 49s
build_develop / build (push) Successful in 49s
This commit is contained in:
@@ -48,7 +48,7 @@ class ViewCog(commands.Cog, name="View Commands"):
|
|||||||
if quarter_name:
|
if quarter_name:
|
||||||
df = pd.read_sql_query(
|
df = pd.read_sql_query(
|
||||||
sql=session.query(ParticipationPoints)
|
sql=session.query(ParticipationPoints)
|
||||||
.where(ParticipationPoints.Cycle == quarter_name)
|
.where(ParticipationPoints.Cycle.startswith(quarter_name))
|
||||||
.statement,
|
.statement,
|
||||||
con=engine,
|
con=engine,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user