Commit graph

73 commits

Author SHA1 Message Date
Colin Kuskie
1101ceeb9b Fix a bug with building really big paginated lists, like when deleting all messages for a user. 2010-06-22 22:11:09 -07:00
Colin Kuskie
d8af80311a Clarify POD for the setAlphabeticalKey method. 2009-11-08 22:13:34 -08:00
Colin Kuskie
c327630771 Add pagination to the DataForm list view. Fixes bug #10989.
Adds new code to Paginator, to handle paginating with an iterator.
2009-10-14 20:35:54 -07:00
Colin Kuskie
2470aeb750 Forward porting SQL Report/Paginator errorNum fix. errorNum is undefined for
no errors.
2009-04-26 23:14:22 +00:00
Colin Kuskie
91ecdda498 Fix a bug in the paginator where in 10/20 page links the number
of pages becomes less than 10/20.
Add lots of Paginator tests to check this.
2009-02-26 18:01:57 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
f5683b6995 Forward port Paginator markup fixes. 2009-01-23 01:11:11 +00:00
Frank Dillon
4ff722bd5d Pluggable Account system added to WebGUI with new Profile, Inbox, Friends, User, and Shop interfaces. 2008-11-15 11:39:23 +00:00
Frank Dillon
615e0e3746 lots of changes 2008-11-12 23:03:42 +00:00
Doug Bell
01cbbf2e60 added page range to paginator variables 2008-09-03 21:56:43 +00:00
Diona Kidd
519750efeb Adding id for previous and next page link for styling 2008-08-20 02:59:34 +00:00
Diona Kidd
b0463aa46d Add span tag around page links for styling 2008-08-20 02:50:09 +00:00
Graham Knop
c3e1d798b9 fixed: paginator doesn't show correct number of page links with a limit applied 2008-08-07 22:55:41 +00:00
Graham Knop
46f6104d43 fixed: More permissive DSN checking to allow use of SQLite (thanks pathma) 2008-07-07 16:23:58 +00:00
JT Smith
b0ec9edf53 some bug fixing 2008-05-17 17:23:24 +00:00
Colin Kuskie
d11899cf19 Fix a typo in the Paginator POD. 2008-03-19 19:33:18 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Graham Knop
37367a6c9f SQL Reports were broken in non-mysql 2007-10-05 14:46:48 +00:00
Graham Knop
42586252e5 fix SQL Reports using statements other than select 2007-08-27 21:30:46 +00:00
Graham Knop
cd3cd63d12 fix SQL report pagination 2007-08-24 07:22:45 +00:00
Graham Knop
aaf7d9cf44 fix: New pagination breaks SQL Reports with semicolons 2007-07-30 16:27:43 +00:00
JT Smith
f36ba1b268 - Added keyword tagging to Wiki. 2007-07-07 21:09:39 +00:00
JT Smith
a7dde82421 updated copyright 2007-07-01 16:09:42 +00:00
Colin Kuskie
0ec7bb7a71 fix double my in setDataByQuery 2007-05-29 18:32:02 +00:00
Doug Bell
3c52f21923 add: WebGUI::Paginator now capable of more efficient paginations using SQL limit clauses 2007-05-28 22:32:51 +00:00
Colin Kuskie
8590ef89d5 Refactor getNumberOfPages to use Posix::ceil instead of gnarly modulo logic.
Refactor getPageData
    use $self instead of $_[0]
    Precalculate the ending page instead of iterating over ALL data with a conditional
2007-05-26 04:11:09 +00:00
Colin Kuskie
d60e824ede Bug fix for Wiki search pagination.
The Paginator constructor docs were backwards for the formVar and pageNumber.
Switched the order of the formVar and pageNumber variables in the Search call to the Paginator.
2007-02-02 06:32:36 +00:00
Colin Kuskie
07cab9a1de fix POD for Paginator, number of rows per page 2007-01-14 03:46:07 +00:00
Colin Kuskie
797f5f9363 Add a test to Utility.t to make sure that WebGUI::Utility::round also rounds up.
Add Paginator tests for paginating array data.
Fix an off by 1 error in the Paginator when handling array data.  SQL data is fine.
2007-01-10 03:03:31 +00:00
Matthew Wilson
d917c60085 cleanup and handling edge cases 2006-05-08 02:10:20 +00:00
Matthew Wilson
aaf60da761 adding abInitialOnly option to paginator index tooltip 2006-05-08 01:57:41 +00:00
Matthew Wilson
99e3cbf15b another typo 2006-05-08 01:52:17 +00:00
Matthew Wilson
18a14955b7 fixing typo 2006-05-08 01:48:23 +00:00
Matthew Wilson
8b97f81813 first attempt at new alphabetic index tooltip 2006-05-08 01:47:53 +00:00
Matthew Wilson
9b5d602573 better pod 2006-05-07 14:27:59 +00:00
JT Smith
5136efc983 more template variables in nav and pagination 2006-04-15 00:34:02 +00:00
JT Smith
81fc744a8b more merging of versioning and workflow 2006-03-14 22:25:18 +00:00
Matthew Wilson
4a3121960f removal of dumpSession. 2006-01-26 05:39:16 +00:00
Matthew Wilson
3d740cdfac oodles of fixes. 2006-01-21 02:01:15 +00:00
Matthew Wilson
09483e18c5 a ton of $session fixes (thanks to Colin), and a new $session checker, that supposedly, shouldn't be needed now. It can be backed out, however, easily. 2006-01-16 22:45:21 +00:00
Colin Kuskie
197dacadec no more getSlave, convert code to use dbSlave instead
more form accessor fixes
Form/Template.pm, all asset calls need a session var
2006-01-16 00:08:58 +00:00
Colin Kuskie
a8a4dd586a fix typos, add self variables 2006-01-13 00:46:34 +00:00
Colin Kuskie
01d95a265e new i18n api requiring $session 2006-01-12 17:49:20 +00:00
JT Smith
877bf082a0 migrating paginator api to new session system
fixed a few old style session vars
2006-01-12 17:24:06 +00:00
JT Smith
a194408513 changing copyright year 2006-01-09 23:51:04 +00:00
JT Smith
024514c549 more session related changes 2006-01-09 19:56:26 +00:00
JT Smith
021f5c38fb bunch of bug fixes 2005-03-17 02:45:12 +00:00
JT Smith
55c709a051 updated copyright 2005-02-07 00:52:47 +00:00
Colin Kuskie
5b0c8f8412 remove duplicate pagination.firstPage code 2004-12-03 22:14:21 +00:00
Len Kranendonk
d32ecc6251 Added sub-queries support in SQL Report 2004-11-03 20:44:21 +00:00