Skip to content

Commit

Permalink
Merge pull request #8330 from michaelchadwick/frontend-4546-remove-te…
Browse files Browse the repository at this point in the history
…rms-by-mesh-term-report-option

Removed 'MeSH Term' as object option when 'Term' is selected as subject
  • Loading branch information
dartajax authored Jan 25, 2025
2 parents 094be1f + 7b1e3ee commit 390bf7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/frontend/app/components/reports/new-subject.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default class ReportsNewSubjectComponent extends Component {
{
value: 'mesh term',
label: this.intl.t('general.meshTerm'),
subjects: ['course', 'session', 'learning material', 'session type', 'term'],
subjects: ['course', 'session', 'learning material', 'session type'],
},
{
value: 'session type',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,14 +227,13 @@ module('Integration | Component | reports/new-subject', function (hooks) {
});

test('choosing term selects correct objects', function (assert) {
assert.expect(11);
assert.expect(10);
return checkObjects(this, assert, 9, 'term', [
'academic year',
'competency',
'course',
'instructor',
'learning material',
'mesh term',
'program',
'program year',
'session',
Expand Down

0 comments on commit 390bf7c

Please sign in to comment.