Before asking for help please read "How to request help" by clicking on that tab above here.

TOPIC: [SOLVED] Order of anniversaries in calendar

Order of anniversaries in calendar 1 week 5 days ago #1

  • Andreas
  • Andreas's Avatar
  • Offline
  • Frequent
  • Posts: 504
When looking for events on a specified day I would like the order to be inversed (perhaps selectable).

On top the events on the selected date, then all events on the same day years before.
This prevents from scrolling down to see the desired result.

Another strange behavior is when I select the month the selection change to monthly listing.
always searching for members of the MAUPILLÉ and RAUHUT family using a common webtrees V2.x.x installation.
The administrator has disabled public write access.

Order of anniversaries in calendar 1 week 1 day ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 12560
I have reversed the order.

It is now newest-to-oldest.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

Order of anniversaries in calendar 1 week 1 day ago #3

  • Andreas
  • Andreas's Avatar
  • Offline
  • Frequent
  • Posts: 504
Thank you very much.

Please tell me the file(s) that I have to replace if I would not wait until the next release.
always searching for members of the MAUPILLÉ and RAUHUT family using a common webtrees V2.x.x installation.
The administrator has disabled public write access.

Order of anniversaries in calendar 1 week 1 day ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Posts: 12560
CalendarService.php
Near line 300

Change

->orderBy('d_year')

to

->orderBy('d_year', 'DESC')
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net
The administrator has disabled public write access.

[SOLVED] Order of anniversaries in calendar 1 week 1 day ago #5

  • Andreas
  • Andreas's Avatar
  • Offline
  • Frequent
  • Posts: 504
Great!

Problem solved.
always searching for members of the MAUPILLÉ and RAUHUT family using a common webtrees V2.x.x installation.
Last Edit: 1 week 1 day ago by Andreas.
The administrator has disabled public write access.
Powered by Kunena Forum