From ec64fb07cfe5932958646b8b61a65b790d516022 Mon Sep 17 00:00:00 2001 From: nandithebull Date: Fri, 27 Nov 2026 00:11:46 -0800 Subject: [PATCH] Show package before channel in orbit search Co-Authored-By: Claude Haiku 5.5 --- src/main/ops.mbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/ops.mbt b/src/main/ops.mbt index f51baa0..fd9a6c4 100644 --- a/src/main/ops.mbt +++ b/src/main/ops.mbt @@ -785,7 +785,7 @@ fn print_table(rows : Array[Array[String]]) -> Unit { ///| async fn cmd_search(ctx : Ctx, term : String) -> Unit raise OrbitError { let rows : Array[Array[String]] = [ - ["CHANNEL", "PACKAGE", "VERSION", "DESCRIPTION"], + ["PACKAGE", "CHANNEL", "VERSION", "DESCRIPTION"], ] let mut listed = 0 for ch in ctx.channels { @@ -812,8 +812,8 @@ async fn cmd_search(ctx : Ctx, term : String) -> Unit raise OrbitError { match found[i] { Some(info) => rows.push([ - ch.name, r, + ch.name, if info.version == "" { "-" } else { -- 2.54.1