[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: etemplate/inc class.nextmatch_widget.inc.php,1.3
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: etemplate/inc class.nextmatch_widget.inc.php,1.3,1.4 |
Date: |
Sun, 22 Sep 2002 14:10:08 -0400 |
Update of /cvsroot/phpgroupware/etemplate/inc
In directory subversions:/tmp/cvs-serv4914
Modified Files:
class.nextmatch_widget.inc.php
Log Message:
fix to jump back to the start, if search returns less items than acutal
position is
Index: class.nextmatch_widget.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/etemplate/inc/class.nextmatch_widget.inc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** class.nextmatch_widget.inc.php 22 Sep 2002 09:30:29 -0000 1.3
--- class.nextmatch_widget.inc.php 22 Sep 2002 18:10:06 -0000 1.4
***************
*** 41,44 ****
--- 41,49 ----
{
$value['rows'] =
ExecMethod($value['get_rows'],$value);
+ if ($value['start'] > $value['rows'][0])
+ {
+ $value['start'] = 0;
+ $value['rows'] =
ExecMethod($value['get_rows'],$value);
+ }
$GLOBALS['phpgw_info']['etemplate']['extension_data']['nextmatch_widget'][$cell['name']]['total']
= $value['rows'][0];
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: etemplate/inc class.nextmatch_widget.inc.php,1.3,1.4,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: etemplate/templates/default nextmatch_widget.xul,1.5,1.6 nextmatch_widget.nm_row.xul,1.1,NONE nextmatch_widget.nm_row1.xul,1.1,NONE nextmatch_widget.nm_row2.xul,1.1,NONE
- Next by Date:
[Phpgroupware-cvs] CVS: timetrack/inc header.inc.php,1.10.2.1,1.10.2.2
- Previous by thread:
[Phpgroupware-cvs] CVS: etemplate/templates/default nextmatch_widget.xul,1.5,1.6 nextmatch_widget.nm_row.xul,1.1,NONE nextmatch_widget.nm_row1.xul,1.1,NONE nextmatch_widget.nm_row2.xul,1.1,NONE
- Next by thread:
[Phpgroupware-cvs] CVS: timetrack/inc header.inc.php,1.10.2.1,1.10.2.2
- Index(es):