Skip to content

Commit

Permalink
tool: fix unwanted ordering in generated html file
Browse files Browse the repository at this point in the history
this prevent the generated tool from getting indexed based on the institutes name instead of closing ranks
  • Loading branch information
ksauraj authored Oct 20, 2024
1 parent ed42d08 commit 19422d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ def display_df_web(df, heading, subheading):
<script>
$(document).ready(function () {{
$('#tableID').DataTable({{ pageLength: 20 }}); }});
$('#tableID').DataTable({{ pageLength: 20, ordering: false, }}); }});
document.addEventListener("DOMContentLoaded", function() {{
function typeText(text, elementId, speed) {{
Expand Down Expand Up @@ -789,7 +789,6 @@ def filter_by_choices(choices, column_name, steps):
os.system("cls" if os.name == "nt" else "clear")
print(Fore.GREEN + ascii_art)
display_df_web(filtered_df, "JEE COUNSELLOR", "~By Ksauraj")

print(
Fore.GREEN +
"Congratulations! File successfully opened in browser. Please wait......" +
Expand Down

0 comments on commit 19422d2

Please sign in to comment.