projects
/
eq
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed HT apps to sort families under a companionship in alphabetical order.
[eq/.git]
/
inc
/
class.eq.inc.php
diff --git
a/inc/class.eq.inc.php
b/inc/class.eq.inc.php
index f3d124f5db390ef4aeeabe07408c6d1e9e838ca4..aa604813f5caea63353973e289acd3d4093c6bc4 100644
(file)
--- a/
inc/class.eq.inc.php
+++ b/
inc/class.eq.inc.php
@@
-43,10
+43,10
@@
class eq
function eq()
{
function eq()
{
- $this->default_ht_num_months =
1
;
- $this->default_ppi_num_months =
1
;
+ $this->default_ht_num_months =
3
;
+ $this->default_ppi_num_months =
3
;
$this->default_ppi_num_years = 0;
$this->default_ppi_num_years = 0;
- $this->default_att_num_months =
1
;
+ $this->default_att_num_months =
3
;
$this->db = $GLOBALS['phpgw']->db;
$this->db2 = $this->db;
$this->db = $GLOBALS['phpgw']->db;
$this->db2 = $this->db;
@@
-216,6
+216,7
@@
class eq
// Get the names of the families assigned this home teaching companionship
$sql = "SELECT * from eq_family where valid=1 AND companionship=".$unique_companionships[$j]['companionship'];
// Get the names of the families assigned this home teaching companionship
$sql = "SELECT * from eq_family where valid=1 AND companionship=".$unique_companionships[$j]['companionship'];
+ $sql = $sql . " ORDER BY name ASC";
$this->db->query($sql,__LINE__,__FILE__);
$k=0;
while ($this->db->next_record())
$this->db->query($sql,__LINE__,__FILE__);
$k=0;
while ($this->db->next_record())
@@
-441,6
+442,7
@@
class eq
// Get the names of the families assigned this home teaching companionship
$sql = "SELECT * from eq_family where valid=1 AND companionship=".$unique_companionships[$j]['companionship'];
// Get the names of the families assigned this home teaching companionship
$sql = "SELECT * from eq_family where valid=1 AND companionship=".$unique_companionships[$j]['companionship'];
+ $sql = $sql . " ORDER BY name ASC";
$this->db->query($sql,__LINE__,__FILE__);
while ($this->db->next_record())
{
$this->db->query($sql,__LINE__,__FILE__);
while ($this->db->next_record())
{