projects
/
eq
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
756a3b9
)
Fixed HT apps to sort families under a companionship in alphabetical order.
author
Alan Jack Pippin
<ajp@pippin.(none)>
Mon, 13 Mar 2006 06:36:35 +0000
(23:36 -0700)
committer
Alan J. Pippin
<ajp@pippins.net>
Mon, 13 Mar 2006 06:36:35 +0000
(23:36 -0700)
inc/class.eq.inc.php
patch
|
blob
|
history
diff --git
a/inc/class.eq.inc.php
b/inc/class.eq.inc.php
index 3478b4c36014dcbbaeda88919dc97a9909b0c352..aa604813f5caea63353973e289acd3d4093c6bc4 100644
(file)
--- a/
inc/class.eq.inc.php
+++ b/
inc/class.eq.inc.php
@@
-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())
{