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

[FINNA-531] Implement collection sort possibility #48

Closed
wants to merge 2 commits into from

Conversation

LuomaJuha
Copy link
Contributor

Changed the name of hierarchy_sequence_str to hierarchy_sequence_sort_str as it seems it has been used as some sorting mechanism.

@@ -139,7 +139,7 @@ public function toSolrArray(Database $db = null)

// Single-valued sequence for sorting
if (isset($data['hierarchy_sequence'])) {
$data['hierarchy_sequence_str'] = $data['hierarchy_sequence'];
$data['hierarchy_sequence_sort_str'] = $this->getSequenceForSort();
Copy link
Contributor

Choose a reason for hiding this comment

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

hierarchy_sequence -kentän luonti on monimutkainen operaatio, eikä pelkän sequencen ottaminen archive:sta tuota oikeaa tulosta kaikissa tapauksissa. Meillä on siis sellaisia lähteitä, joissa arkisto tulee palasina, jolloin sequence ei ole yhtenäinen.

@LuomaJuha
Copy link
Contributor Author

tää menee sen verran monimutkaseks et suljen

@LuomaJuha LuomaJuha closed this Oct 24, 2023
@LuomaJuha LuomaJuha deleted the finna-531-sequence-sort branch October 24, 2023 10:36
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