aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-12 12:41:24 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-12 12:41:24 +0000
commit209d2f0b87eccc32a83c5ef409e9444346c4b8ab (patch)
tree2469692791229f79bfcf681c11acd047208ead5d
parent64d3573d104adac795930f7f30eb1fea1b6df26e (diff)
Made the personal entry list a bit better
-rwxr-xr-xtjp.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tjp.sh b/tjp.sh
index ed64046..88b0595 100755
--- a/tjp.sh
+++ b/tjp.sh
@@ -35,7 +35,7 @@ add_MOD_entry() {
# Function to select all personal entries
list_personal_entries() {
- psql -h "$HOST" -U "$USER" -d "$DB" -c "SELECT * FROM journal_entries WHERE type = 2;"
+ psql -h "$HOST" -U "$USER" -d "$DB" -c "SELECT id, date_added, entry, comment FROM journal_entries WHERE type = 2;"
}
# Function to select all MOD entries