From 755bf5fe5d05de87c538010437a5a1cebf3cdea7 Mon Sep 17 00:00:00 2001 From: aftercase <74765798+aftercase@users.noreply.github.com> Date: Wed, 25 Aug 2021 17:09:13 +0100 Subject: [PATCH] updated userpage Page now displays colored tags, and favored pastes now load in updated order. --- theme/bulma/user_profile.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/theme/bulma/user_profile.php b/theme/bulma/user_profile.php index bc1c4d6..f04f4f7 100644 --- a/theme/bulma/user_profile.php +++ b/theme/bulma/user_profile.php @@ -21,6 +21,7 @@ $protocol = paste_protocol(); rowReorder: { selector: 'td:nth-child(2)'}, responsive: true, pageLength: 50, + order: [[ 1, "desc" ]], autoWidth: false, initComplete: function () { var search = new URLSearchParams(window.location.search); @@ -40,6 +41,7 @@ $protocol = paste_protocol(); $("#favs").dataTable({ rowReorder: { selector: 'td:nth-child(2)'}, responsive: true, + order: [[ 2, "desc" ]], pageLength: 50, autoWidth: false, initComplete: function () { @@ -220,9 +222,7 @@ $protocol = paste_protocol();