James McCool
commited on
Commit
·
5244b28
1
Parent(s):
d318223
Refactor filter form keys in app.py: rename filter form keys to 'macro_filter_form' and 'micro_filter_form' for improved clarity and organization in the filtering options.
Browse files
app.py
CHANGED
@@ -840,7 +840,7 @@ with tab2:
|
|
840 |
col1, col2 = st.columns([2, 8])
|
841 |
with col1:
|
842 |
with st.expander('Macro Filter Options'):
|
843 |
-
with st.form(key='
|
844 |
max_dupes = st.number_input("Max acceptable dupes?", value=1000, min_value=1, step=1)
|
845 |
min_salary = st.number_input("Min acceptable salary?", value=1000, min_value=1000, step=100)
|
846 |
max_salary = st.number_input("Max acceptable salary?", value=60000, min_value=1000, step=100)
|
@@ -853,7 +853,7 @@ with tab2:
|
|
853 |
|
854 |
submitted = st.form_submit_button("Submit")
|
855 |
with st.expander('Micro Filter Options'):
|
856 |
-
with st.form(key='
|
857 |
player_names = set()
|
858 |
for col in st.session_state['portfolio'].columns:
|
859 |
if col not in excluded_cols:
|
|
|
840 |
col1, col2 = st.columns([2, 8])
|
841 |
with col1:
|
842 |
with st.expander('Macro Filter Options'):
|
843 |
+
with st.form(key='macro_filter_form'):
|
844 |
max_dupes = st.number_input("Max acceptable dupes?", value=1000, min_value=1, step=1)
|
845 |
min_salary = st.number_input("Min acceptable salary?", value=1000, min_value=1000, step=100)
|
846 |
max_salary = st.number_input("Max acceptable salary?", value=60000, min_value=1000, step=100)
|
|
|
853 |
|
854 |
submitted = st.form_submit_button("Submit")
|
855 |
with st.expander('Micro Filter Options'):
|
856 |
+
with st.form(key='micro_filter_form'):
|
857 |
player_names = set()
|
858 |
for col in st.session_state['portfolio'].columns:
|
859 |
if col not in excluded_cols:
|