diff --git a/__pycache__/dashboard.cpython-310.pyc b/__pycache__/dashboard.cpython-310.pyc index ef5ec2f..83e62a4 100644 Binary files a/__pycache__/dashboard.cpython-310.pyc and b/__pycache__/dashboard.cpython-310.pyc differ diff --git a/dashboard_static/index.html b/dashboard_static/index.html index dc526af..560ec85 100644 --- a/dashboard_static/index.html +++ b/dashboard_static/index.html @@ -97,16 +97,16 @@
- - + +
Sort By arrow_drop_down
    -
  • Time
  • -
  • Likes
  • -
  • Retweets
  • -
  • Replies
  • +
  • Time
  • +
  • Likes
  • +
  • Retweets
  • +
  • Replies
diff --git a/dashboard_static/js/events.js b/dashboard_static/js/events.js index 9000e11..86ca011 100644 --- a/dashboard_static/js/events.js +++ b/dashboard_static/js/events.js @@ -90,3 +90,20 @@ $(".order-btn").on("click", function() { $(window).trigger("descending") } }) + +function updateSearched(searched){ + searched = searched.split(","); + filters.searchedWords = searched; + $(window).trigger("filter"); +} + +function updateBlocked(blocked){ + blocked = blocked.split(","); + filters.blockedWords = blocked; + $(window).trigger("filter"); +} + +function updateSort(sort){ + filters.sorted = sort; + $(window).trigger("filter"); +} \ No newline at end of file diff --git a/eca/__pycache__/arff.cpython-310.pyc b/eca/__pycache__/arff.cpython-310.pyc index 1516621..f36aef8 100644 Binary files a/eca/__pycache__/arff.cpython-310.pyc and b/eca/__pycache__/arff.cpython-310.pyc differ diff --git a/eca/__pycache__/generators.cpython-310.pyc b/eca/__pycache__/generators.cpython-310.pyc index 155bc4d..c475398 100644 Binary files a/eca/__pycache__/generators.cpython-310.pyc and b/eca/__pycache__/generators.cpython-310.pyc differ