Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

updating getContainerIdsWithTitle logic #2730 #2741

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

steven-lolong
Copy link

No description provided.

@@ -663,7 +668,18 @@ String getPPNFromWSubfield(final DataField field) {
public Set<String> getContainerIdsWithTitles(final Record record) {
final Set<String> containerIdsTitlesAndOptionalVolumes = new TreeSet<>();

for (final String tag : new String[] { "773", "800", "810", "830" }) {
IssueInfo issue_info_773_or_936(getIssueInfo(record));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's OK to use the simpler variable name issue_info here instead of issue_info_773_or_996. Which tags the function used is just an implementation detail that can change at any time and then we would have to change all variable names so better just change it now and use a short one.

@mtrojan-ub
Copy link

Initially this PR was intended to be a short bugfix, but it turned out we cannot fully repair this without side effects. Also, there is still an ongoing discussion about requirements regarding all aspects where containers / superior works should be shown in which way in the frontend, so we should wait until the discussion is finished before making further changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants