Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
RDMS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
researchdata
RDMS
Commits
deecb85e
Commit
deecb85e
authored
1 week ago
by
Gyan Gupta
Browse files
Options
Downloads
Patches
Plain Diff
add some missing code
parent
8f3d2be6
Branches
bug_fix/importer_issues_25_33_34
Branches containing commit
No related tags found
2 merge requests
!384
fixes for importer filters and entry respective links
,
!346
Draft: Hyrax 5 - Upgrade hyrax to v5
Pipeline
#20901
failed
1 week ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hyrax/app/helpers/hyrax_helper.rb
+11
-0
11 additions, 0 deletions
hyrax/app/helpers/hyrax_helper.rb
with
11 additions
and
0 deletions
hyrax/app/helpers/hyrax_helper.rb
+
11
−
0
View file @
deecb85e
...
...
@@ -166,4 +166,15 @@ module HyraxHelper
meta_object
=
s3
.
system_metadata_object
(
work_id
)
meta_object
.
present?
and
(
work
.
date_modified
.
to_i
<=
DateTime
.
parse
(
meta_object
.
last_modified
.
to_s
).
to_i
)
end
def
get_custom_entry_record
(
entry
)
case
entry
.
class
.
name
when
"Bulkrax::CrcFolderComplexSubjectEntry"
ComplexSubject
.
find_by
(
source_identifier:
entry
.
identifier
)
when
"Bulkrax::CrcFolderComplexSessionEntry"
ComplexSession
.
find_by
(
source_identifier:
entry
.
identifier
)
else
ComplexModality
.
find_by
(
source_identifier:
entry
.
identifier
)
end
end
end
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment