Skip to content

Commit

Permalink
add unicode icons
Browse files Browse the repository at this point in the history
  • Loading branch information
judell committed Mar 24, 2023
1 parent 71da9c0 commit 073df66
Showing 1 changed file with 9 additions and 15 deletions.
24 changes: 9 additions & 15 deletions query.sp
Original file line number Diff line number Diff line change
Expand Up @@ -223,21 +223,15 @@ query "search_people" {
limit ${local.limit}
)
select
d.instance_qualified_account_url,
d.person,
case when r.following then '✔️' else '' end as i_follow,
case when r.followed_by then '✔️' else '' end as follows_me,
d.created_at,
d.followers_count as followers,
d.following_count as following,
d.toots,
d.note
instance_qualified_account_url,
person,
created_at,
'' || followers_count as followers,
'' || following_count as following,
toots,
note
from
data d
join
mastodon_relationship r
on
d.id = r.id
EOQ
param "search_term" {}
}
Expand Down Expand Up @@ -270,8 +264,8 @@ query "notification" {
n.category,
n.person,
n.instance_qualified_account_url as account_url,
case when r.following then '✔️' else '' end as following,
case when r.followed_by then '✔️' else '' end as followed_by,
case when r.following then '' else '' end as following,
case when r.followed_by then '' else '' end as followed_by,
substring(n.status_content from 1 for 200) as toot,
case
when n.instance_qualified_status_url != '' then n.instance_qualified_status_url
Expand Down

0 comments on commit 073df66

Please sign in to comment.