File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
client/src/frontend/containers/Frontend Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -13,9 +13,11 @@ class Subject < ApplicationRecord
1313 has_many :text_subjects , dependent : :destroy
1414 has_many :project_subjects , dependent : :destroy
1515 has_many :project_collection_subjects , dependent : :destroy
16+ has_many :journal_subjects , dependent : :destroy
1617 has_many :texts , through : :text_subjects
1718 has_many :projects , through : :project_subjects
1819 has_many :project_collections , through : :project_collection_subjects
20+ has_many :journals , through : :journal_subjects
1921
2022 scope :by_featured , lambda { |featured |
2123 return all unless featured . present?
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export class FrontendContainer extends Component {
3030 { oneTime : true }
3131 ) ;
3232 const journalSubjects = request (
33- subjectsAPI . index ( { journalUsed : true } , { } , true ) ,
33+ subjectsAPI . index ( { usedJournal : true } , { } , true ) ,
3434 requests . feJournalSubjects ,
3535 { oneTime : true }
3636 ) ;
You can’t perform that action at this time.
0 commit comments