wasimshaikh / php-calendar

Automatically exported from code.google.com/p/php-calendar
1 stars 0 forks source link

Month view display problem #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Entering several same name events on on several days results in them displaying 
in a random order

What is the expected output?
For example I am using the calendar as a rota for staff on an intranet.  I 
enter the same staff names on every day as a single day event with with time 
type none and they are entered as e.g.

User1 In
User2 Out
User3 Holiday

I would expect this to display in the month view in the order they are entered.

What do you see instead?
They do display on the correct day but what happens is that they display in a 
random order e.g.

Entered as above

Displayed on one day as:

User1 In
User3 Holiday
User2 Out

and another as:

User2 Out
User1 In
User3 Holiday

This is completely random for every day so they are not always in the same 
sequence regardless of how they are entered into the calendar. Also sometimes 
they are displayed in the right sequence but then when you enter then next day 
the previous ones randomly go out of order.

What version of the product are you using?
2.0 beta 6

On what operating system?
PHP 5.2
MySQL 5.1 

Please provide any additional information below.

Screenshot Attached

(all of the events in the screenshot were entered in alphabetical order day by 
day as per what is shown on the 26th but you can see they do not display like 
that on every day)

The calendar behaving like this makes it very difficult to track the events 
easily day by day in month view.  I would have expected them to sequence either 
by date entered or at least alphabetically.

Not sure if this is a bug or if it should be an enhancement but your help would 
be much appreciated for this great program.

Original issue reported on code.google.com by Yetiland...@gmail.com on 10 Jun 2010 at 6:41

Attachments:

GoogleCodeExporter commented 9 years ago
They're sorted by start time. Full day events not having a start time, probably 
end up in whatever order the database finds them. I can order them by start 
time then event ID if that would be an improvement.

Original comment by sproctor@gmail.com on 14 Jun 2010 at 12:42

GoogleCodeExporter commented 9 years ago
Thanks Sproctor for taking the time to reply.
Yes that sounds like it should fix it and it is much appreciated.

Original comment by Yetiland...@gmail.com on 14 Jun 2010 at 3:11

GoogleCodeExporter commented 9 years ago
this change is in 2.0 beta8. I'm going to close this issue. Please re-open it 
if it's not actually fixed, or send me an email.

Original comment by sproctor@gmail.com on 15 Jun 2010 at 12:56