diff --git a/TODO.md b/TODO.md index 1f7f643..281cb00 100644 --- a/TODO.md +++ b/TODO.md @@ -15,9 +15,7 @@ In no particular order, here is a semi-current list of things to be done in Info [ ] Add share button/link on item page -[ ] Menu - change categories to media types and hook to latest list - -[ ] Add image (mostly Pixabay) credits +[x] Menu - change categories to media types and hook to latest list [x] Item pages - Add clickable links on Type diff --git a/recent.php b/recent.php index 28f5c56..21d2908 100644 --- a/recent.php +++ b/recent.php @@ -68,6 +68,11 @@ custom_column_1 ON custom_column_1.id = books_custom_column_1_link.value WHERE custom_column_1.value = '$typesearch' ORDER BY books.timestamp DESC"); + +$types = $db->query("SELECT +value +FROM custom_column_1 +ORDER BY value ASC"); ?> @@ -176,13 +181,18 @@ ORDER BY books.timestamp DESC");
-

Categories

+

Recent Additions

diff --git a/results.php b/results.php index c0f4f62..0c743ea 100644 --- a/results.php +++ b/results.php @@ -19,7 +19,6 @@ if (!empty($keywordsearch)) { $searchtopic = 'Type: '.$socialty; } - // -------------------- BEGIN DATABASE QUERIES -------------------- // Establish atabase connection @@ -68,6 +67,12 @@ custom_column_1 ON custom_column_1.id = books_custom_column_1_link.value WHERE custom_column_1.value = '$typesearch' ORDER BY books.title ASC"); + +$types = $db->query("SELECT +value +FROM custom_column_1 +ORDER BY value ASC"); + ?> @@ -176,13 +181,17 @@ ORDER BY books.title ASC");
-

Categories

+

Recent Additions