Skip to content

Commit

Permalink
[electrophysiology_uploader] Add PSCID and Visit Label filters to dat…
Browse files Browse the repository at this point in the history
…a table (#9113)

This adds PSCID and Visit Label to the FilterableDataTable in the electrophysiology_uploader.

Resolves #9059.
  • Loading branch information
jeffersoncasimir authored Mar 11, 2024
1 parent 0498fcb commit a7f7769
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions modules/electrophysiology_uploader/jsx/UploadViewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,19 @@ export default function UploadViewer(props) {
{
label: 'PSCID',
show: true,
filter: {
name: 'pscid',
type: 'text',
},
},
{
label: 'Visit',
show: true,
filter: {
name: 'visitLabel',
type: 'select',
options: props.fieldOptions.visitLabel,
},
},
{
label: 'Upload Location',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ class Electrophysiology_Uploader extends \DataFrameworkMenu
}

return [
'sites' => $site_options
'sites' => $site_options,
'visitLabel' => \Utility::getVisitList(),
];
}

Expand Down

0 comments on commit a7f7769

Please # to comment.