https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42973
Bug ID: 42973
Summary: Additional contents ordering ignores "Appear in
position" when sorting news
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Tools
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Target Milestone: ---
Bug 39027 changed the default ordering of news items to use the publication
date (newest first). However, this change no longer respects the manual "Appear
in position" value (additional_content.number).
Previously, libraries could assign a position number to pin or manually order
specific news items. After Bug 39027, news items are always ordered by
publication date, regardless of whether a manual position has been assigned.
To recreate:
1. Create two or more news items.
2. Assign an "Appear in position" value to one of the items (for example, 1).
3. Give another news item a more recent publication date.
4. View the news on the OPAC or staff interface.
5. Notice that the newer item is displayed first instead of the item with the
assigned position.
Expected behavior:
If a news item has an "Appear in position" value, that value should take
precedence over the default publication date ordering. News items without a
manual position should continue to be ordered by publication date (newest
first).
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/