You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2024/02/20 12:26:13 UTC

(airflow) 17/27: Remove unused pageSize method. (#37319)

This is an automated email from the ASF dual-hosted git repository.

ephraimanierobi pushed a commit to branch v2-8-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit da024aa0e65d02c4fd14c86774a7694dbe266087
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Tue Feb 13 00:04:29 2024 +0100

    Remove unused pageSize method. (#37319)
    
    (cherry picked from commit 5fe27c82e0fa33bba52cc5f4c0478c1514562462)
---
 airflow/www/static/js/dags.js | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/airflow/www/static/js/dags.js b/airflow/www/static/js/dags.js
index ea53be18ac..6c20a1681b 100644
--- a/airflow/www/static/js/dags.js
+++ b/airflow/www/static/js/dags.js
@@ -95,11 +95,6 @@ $("#dag_query").on("keypress", (e) => {
   }
 });
 
-$("#page_size").on("change", function onPageSizeChange() {
-  const pSize = $(this).val();
-  window.location = `${DAGS_INDEX}?page_size=${pSize}`;
-});
-
 $.each($("[id^=toggle]"), function toggleId() {
   const $input = $(this);
   const dagId = $input.data("dag-id");