Skip to content

Commit

Permalink
Merge pull request #812 from NASA-IMPACT/107-doc-type-filter-not-working
Browse files Browse the repository at this point in the history
fixed doc type column not filtering
  • Loading branch information
emshahh authored Jun 5, 2024
2 parents f3c38a0 + be9413b commit 7e5b323
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion sde_indexing_helper/static/js/candidate_url_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,15 @@ function initializeDataTable() {
},
},
initComplete: function (data) {
const addDropdownSelect = [1, 4, 5];
const addDropdownSelect = [1, 4];
const dict = {
1: "Images",
2: "Data",
3: "Documentation",
4: "Software and Tools",
5: "Missions and Instruments",
6: "Training and Education",
};
this.api()
.columns()
.every(function (index) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h3 class="whiteText candidateTitle">
</select></td>
<td ><input type="text" class="table_filter_row_input textBoxStyling" id="candidateScrapedTitleFilter" placeholder="Scraped Title" /></td>
<td ><input type="text" class="table_filter_row_input textBoxStyling" id="candidateNewTitleFilter" placeholder="New Title" /></td>
<td><select class="dropdown-5 select-dropdown selectStyling"><option value="">SELECT</option>
<td><select class="dropdown-4 select-dropdown selectStyling"><option value="">SELECT</option>
<option value="0">None</option>
<option value="1">Images</option>
<option value="2">Data</option>
Expand Down

0 comments on commit 7e5b323

Please sign in to comment.