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

TOPIC:

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

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 574
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.

Please Log in or Create an account to join the conversation.

Order of anniversaries in calendar 3 months 6 days ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
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

Please Log in or Create an account to join the conversation.

Order of anniversaries in calendar 3 months 6 days ago #3

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 574
Thank you very much.

Please tell me the file(s) that I have to replace if I would not wait until the next release.

Please Log in or Create an account to join the conversation.

Order of anniversaries in calendar 3 months 6 days ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
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

Please Log in or Create an account to join the conversation.

[SOLVED] Order of anniversaries in calendar 3 months 6 days ago #5

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 574
Great!

Problem solved.

Please Log in or Create an account to join the conversation.

Last edit: by Andreas.

Order of anniversaries in calendar 1 month 2 weeks ago #6

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 574

fisharebest wrote: I have reversed the order.

It is now newest-to-oldest.


With 2.0.4 the old order came back.
It's a bug or a feature ?

Please Log in or Create an account to join the conversation.

Order of anniversaries in calendar 1 month 2 weeks ago #7

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13191
Show me a URL with the problem
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Order of anniversaries in calendar 1 month 2 weeks ago #8

Cela fonctionne pour les anniversaires du mois, mais pas pour les anniversaires du jour.

It works for birthdays of the month, but not for birthdays of the day
webtrees 2.0.6
php 7.4

Please Log in or Create an account to join the conversation.

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Order of anniversaries in calendar 1 month 1 week ago #9

  • Andreas
  • Andreas's Avatar Topic Author
  • Offline
  • Frequent
  • Frequent
  • Posts: 574

fisharebest wrote: Show me a URL with the problem

wt.rauhut.eu/tree/GAC.ged/calendar/day

It's not a problem. But it is in the old order.

I have to scroll down when I want to look for an individuals exact birthday.

Please Log in or Create an account to join the conversation.

Last edit: by Andreas.
  • Page:
  • 1
Powered by Kunena Forum