[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [Patch #786] Weather pagination fix
From: |
nobody |
Subject: |
[Phpgroupware-tracker] [Patch #786] Weather pagination fix |
Date: |
Mon, 09 Dec 2002 01:47:32 -0500 |
Patch #786 has been updated.
Project:
Category: weather
Status: Open
Summary: Weather pagination fix
Follow-Ups:
Date: 2002-Dec-09 17:03
By: kellin
Comment:
Ok, I posted a bug a while back and got a message back saying that the latest
CVs is correct. I have updated from the latest CVS and guess what, the thing
STILL IS NOT CORRECT.
Let's try this. Set your items per page to 40. Set up 3 or 4 weather stations.
Now try to view the weather.
Guess what? You can only see the first one.
Why is that? Because the weather system does not honor the number of matches
properly and shows whatever it thinks is appropriate.
So, the patch here sets the matches manually just prior to showing the weather
and guess what happens when you do that??
You can paginate. Even though the weather application is braindead enough to
assume 1 weather station per page, you can fool it into thinking that the
number of matches is the same as the number of stations even when it's not.
This is a one line patch that corrects this behavior.
Anyone care to take any bets that the comic system has to have me patch it
before that same bug is corrected????
-------------------------------------------------------
Date: 2002-Dec-09 17:47
By: skwashd
Comment:
Thanks for this, I will look at and test this patch, if it is upto scratch it
will then be applied.
Unfortunately I have not been sucessful in having a working weather install
since 0.9.14RCs. Both weather and comics are unmaintained apps at the moment.
I appreciate your contribution to the project.
btw is this the same as patch #787 ?
-------------------------------------------------------
-------------------------------------------------------
For more info, visit:
http://savannah.gnu.org/patch/?func=detailpatch&patch_id=786&group_id=509
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-tracker] [Patch #786] Weather pagination fix,
nobody <=