[Koha-bugs] [Bug 39027] News are ordered with oldest on top

2025-05-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39027

--- Comment #7 from Baptiste Wojtkowski (bwoj) 
 ---
Tbh I don't see any use case for an order from oldest to newest, as well as our
product owner, and I feel like this will be an unused syspref.

Atm, the sorting by number works if there is a number, right ?

Maybe I can propose a patch that adds the syspref and we push it only if some
customers need it ?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 39027] News are ordered with oldest on top

2025-05-12 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39027

--- Comment #6 from Oliver Behnke  ---
I think I'd prefer a syspref to define the default order (publish data
asc/desc). If there's an override via "Appear in position" then respect that.

What I don't like is a link/button to change the order interactively, *if*
users have to click it every time - i.e. due to a lacking desired default.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 39027] News are ordered with oldest on top

2025-05-11 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39027

David Cook  changed:

   What|Removed |Added

 CC||dc...@prosentient.com.au

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 39027] News are ordered with oldest on top

2025-05-11 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39027

David Nind  changed:

   What|Removed |Added

 Status|Needs Signoff   |In Discussion
 CC||da...@davidnind.com

--- Comment #5 from David Nind  ---
Normally, for a news site, you would want to see the latest news item at the
top (well, I would anyway).

But I also understand that this may not suit everyone, and how different
libraries use the news feature.

How about a link/button to sort by latest or earliest? Not sure how to do this
and make it look nice.

But then this would muck up the numbered option that you can set, which is also
used for HTML customisations.

If sorting by "Appear in position" is not used, then it shouldn't be shown on
the form.

I guess "we" will have to choose!

So maybe the logic would be:
1. If there is an "Appear in position" value, show in the order specified. 
2. If some "Appear in position" values, show in the specified order then by
date published with the latest first.
3. If there is no "Appear in position" values, sort with the latest item first
(published date).
4. Have a link to sort by latest/oldest.
5. Something else?
6. Give up and leave 

Current behavour for news:
1. If no "Appear in position", news is displayed by the creation date, with the
earliest date first (?).
2. Use "Appear in position" to sort in your preferred order.
3. If "Appear in position" is only used on some items, sorts in descending
order (2, 1, ...) with ones without after this in the date created order.

Behavour after the patch for both OPAC and staff interface:
1. Displayed by published date, with the oldest at the top and the latest at
the bottom.

Changing status to in discussion.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 39027] News are ordered with oldest on top

2025-05-09 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39027

Oliver Behnke  changed:

   What|Removed |Added

 CC||oliver.beh...@aei.mpg.de

--- Comment #4 from Oliver Behnke  ---
Can we expand this issue to cover the staff interface as well? News can be
displayed in both places and it suffers from that problem as well.

Honestly, sorting by publish date ascending doesn't make any sense to me, so
one could even think about changing the default to descending :) If not, then a
syspref would be much appreciated.

Cheers

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/


[Koha-bugs] [Bug 39027] News are ordered with oldest on top

2025-03-06 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39027

Baptiste Wojtkowski (bwoj)  changed:

   What|Removed |Added

Summary|News are order with older   |News are ordered with
   |on top  |oldest on top

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
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/