Reordered the fields for interment listings

Fixes #9
This commit is contained in:
inghamn 2017-12-13 12:52:01 -05:00
parent 12249ba8cf
commit 72d3d014f1
1 changed files with 2 additions and 2 deletions

View File

@ -34,12 +34,12 @@ $return_url = $url->__toString();
echo "<a href=\"$url\" class=\"sorting\">Last Name</a>"; echo "<a href=\"$url\" class=\"sorting\">Last Name</a>";
?> ?>
</th> </th>
<th>M</th>
<th><?php <th><?php
$url->sort = $previousSort=='firstname' ? 'firstname desc' : 'firstname'; $url->sort = $previousSort=='firstname' ? 'firstname desc' : 'firstname';
echo "<a href=\"$url\" class=\"sorting\">First Name</a>"; echo "<a href=\"$url\" class=\"sorting\">First Name</a>";
?> ?>
</th> </th>
<th>M</th>
<th><?php <th><?php
$url->sort = $previousSort=='deceasedDate' ? 'deceasedDate desc' : 'deceasedDate'; $url->sort = $previousSort=='deceasedDate' ? 'deceasedDate desc' : 'deceasedDate';
echo "<a href=\"$url\" class=\"sorting\">Date of Death</a>"; echo "<a href=\"$url\" class=\"sorting\">Date of Death</a>";
@ -90,8 +90,8 @@ $return_url = $url->__toString();
echo " echo "
<tr><td>$editButton $deleteButton</td> <tr><td>$editButton $deleteButton</td>
<td><a href=\"{$interment->getURL()}\">$last</a></td> <td><a href=\"{$interment->getURL()}\">$last</a></td>
<td>$middle</td>
<td>$first</td> <td>$first</td>
<td>$middle</td>
<td>$date</td> <td>$date</td>
<td>$cemetery</td> <td>$cemetery</td>
<td>$section_lot</td> <td>$section_lot</td>