Browse Source

issue solved for adjusted and not adjusted files coming in home page

master
yoganandhank 3 months ago
parent
commit
9ab9bb234d
  1. 8
      .env
  2. 4
      src/main/resources/static/js/view-file-script.js

8
.env

@ -4,7 +4,7 @@ DB_PASSWORD=fileadjust
FORCE_HTTPS=false FORCE_HTTPS=false
##### testing db connection ##### ##### testing db connection #####
# DB_URL=jdbc:oracle:thin:@//localhost:1522/XEPDB1
# DB_USERNAME=fileadjust
# DB_PASSWORD=root
# FORCE_HTTPS=false
# DB_URL=jdbc:oracle:thin:@//localhost:1521/XEPDB1
# DB_USERNAME=fileadjust
# DB_PASSWORD=fileadjust
# FORCE_HTTPS=false

4
src/main/resources/static/js/view-file-script.js

@ -128,7 +128,7 @@ $(document).ready(function () {
var rowIdx = this.index(); var rowIdx = this.index();
// File Status (extract visible text from the cell) // 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(); var fileStat = $(td).text().trim();
if (advType) advSet[advType] = true; if (advType) advSet[advType] = true;
@ -162,7 +162,7 @@ $(document).ready(function () {
if (advType) table.column(3).search('^' + advType + '$', true, false); if (advType) table.column(3).search('^' + advType + '$', true, false);
if (fundType) table.column(4).search('^' + fundType + '$', true, false); if (fundType) table.column(4).search('^' + fundType + '$', true, false);
if (finYear) table.column(2).search('^' + finYear + '$', 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 (fileNum) table.column(1).search('^' + fileNum + '$', true, false); // fixed column index
if (vendName) table.column(5).search('^' + vendName + '$', true, false); if (vendName) table.column(5).search('^' + vendName + '$', true, false);

Loading…
Cancel
Save