╭ changed ──────────────╮ │src/ui/Repo/Patches.zig│ ╰───────────────────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────╮ │← previous│ ╰──────────╯ ╭────────────────────────────────────────────────────────────────────╮ │866 var items: std.ArrayList(PatchWithId) = .empty; │ │867 var next_id: ?[]const u8 = null; │ │868 while (try iter.next()) |cursor| { │ │841 - const id = try evt.readOrderKeyId(evt.AdminDB, cursor);│ │869 + const id = try evt.readOrderKeyId(evt.UserDB, cursor); │ │870 const id_hex = std.fmt.bytesToHex(id, .lower); │ │871 if (items.items.len == page_size) { │ │872 next_id = try aa.dupe(u8, &id_hex); │ ╰────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │875 const path = try fork.forkPath(aa, repos_dir, &id_hex); │ │876 var fork_repo = rp.Repo(.xit, .{}).open(io, arena.child_allocator, .{ .path = path, .require_repo_root = true }) catch continue; │ │877 defer fork_repo.deinit(io, arena.child_allocator); │ │850 - const entry = (try loadDraftEntry(repo_kind, repo_opts, arena, io, admin_moment, &fork_repo, target_repo, id)) orelse continue; │ │878 + const entry = (try loadDraftEntry(repo_kind, repo_opts, arena, io, admin_moment, &fork_repo, target_repo, id, user_name)) orelse continue;│ │879 try items.append(aa, entry); │ │880 } │ │881 return .{ │ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ ╭───────────────────────────────────────────────────────╮ │895 fork_repo: *rp.Repo(.xit, .{}), │ │896 target_repo: *rp.Repo(repo_kind, repo_opts), │ │897 id: [evt.event_id_size]u8, │ │898 + forker: []const u8, │ │899 ) !?PatchWithId { │ │900 const aa = arena.allocator(); │ │901 const id_hex = std.fmt.bytesToHex(id, .lower);│ ╰───────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────────────────────────────╮ │917 .commit_count = commit_count, │ │918 .no_changes = if (target_oid) |oid| std.mem.eql(u8, &oid, &fork_oid) else false,│ │919 .fork_exists = true, │ │920 + .forker = try aa.dupe(u8, forker), │ │921 }; │ │922 } │ │923 │ ╰─────────────────────────────────────────────────────────────────────────────────────────────╯