Skip to content

Commit

Permalink
Added filters to 'Browse' tab
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersoncasimir committed Feb 29, 2024
1 parent 0312fba commit 7a1d750
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 7a1d750

Please sign in to comment.