Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[electrophysiology_uploader] Add PSCID and Visit Label filters to data table #9113

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading