diff --git a/app/contacts/contact_notes.php b/app/contacts/contact_notes.php index b412a61ec7..2ff8da16f3 100644 --- a/app/contacts/contact_notes.php +++ b/app/contacts/contact_notes.php @@ -40,6 +40,12 @@ require_once "includes/paging.php"; $order_by = $_GET["order_by"]; $order = $_GET["order"]; +//set defaults + if (strlen($order_by) == 0) { + $order_by = 'last_mod_date'; + $order = 'desc'; + } + //show the content //echo "
"; //echo "\n";