From 9ab9bb234d1792dc6f735873c9792ffe22dad2b3 Mon Sep 17 00:00:00 2001 From: yoganandhank Date: Wed, 22 Jul 2026 16:12:50 +0530 Subject: [PATCH] issue solved for adjusted and not adjusted files coming in home page --- .env | 8 ++++---- src/main/resources/static/js/view-file-script.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.env b/.env index 36ff0b9..ae1e336 100644 --- a/.env +++ b/.env @@ -4,7 +4,7 @@ DB_PASSWORD=fileadjust FORCE_HTTPS=false ##### testing db connection ##### -# DB_URL=jdbc:oracle:thin:@//localhost:1522/XEPDB1 -# DB_USERNAME=fileadjust -# DB_PASSWORD=root -# FORCE_HTTPS=false \ No newline at end of file +# DB_URL=jdbc:oracle:thin:@//localhost:1521/XEPDB1 +# DB_USERNAME=fileadjust +# DB_PASSWORD=fileadjust +# FORCE_HTTPS=false \ No newline at end of file diff --git a/src/main/resources/static/js/view-file-script.js b/src/main/resources/static/js/view-file-script.js index 65f64c5..54c0a50 100644 --- a/src/main/resources/static/js/view-file-script.js +++ b/src/main/resources/static/js/view-file-script.js @@ -128,7 +128,7 @@ $(document).ready(function () { var rowIdx = this.index(); // File Status (extract visible text from the cell) - var td = table.cell(rowIdx, 6).node(); + var td = table.cell(rowIdx, 9).node(); var fileStat = $(td).text().trim(); if (advType) advSet[advType] = true; @@ -162,7 +162,7 @@ $(document).ready(function () { if (advType) table.column(3).search('^' + advType + '$', true, false); if (fundType) table.column(4).search('^' + fundType + '$', true, false); if (finYear) table.column(2).search('^' + finYear + '$', true, false); - if (fileStat) table.column(6).search('^' + fileStat + '$', true, false); + if (fileStat) table.column(9).search('^' + fileStat + '$', true, false); if (fileNum) table.column(1).search('^' + fileNum + '$', true, false); // fixed column index if (vendName) table.column(5).search('^' + vendName + '$', true, false);