Fix search_list rendering "undefined" email fields when quick=true

Fixes #9. In quick mode, PonyMail's /api/stats.lua returns email objects
without subject/from/id, so the emails section rendered each entry as
"- **undefined**  From: undefined | ID: undefined". Quick mode is documented
as stats-only (emails_only exists for email summaries), so skip the emails
section entirely when quick=true. The subject/from/id fields are also guarded
with fallbacks so a sparse entry never renders as "undefined".

Verified live against dev@iceberg.apache.org (the reported repro): quick=true
now returns stats only; emails_only=true still renders populated subjects,
senders, and IDs.

Generated-by: Claude Code 2.1.158 (Claude Opus 4.8)
1 file changed
tree: fb14034f4e6658cac4eb7e07ff0e754fa1eba7c1
  1. .github/
  2. asf-highlights/
  3. mcp/
  4. project-activity/
  5. scripts/
  6. .asf.yaml
  7. .gitignore
  8. .pre-commit-config.yaml
  9. AGENTS.md
  10. LICENSE
  11. README.md
  12. SECURITY.md
README.md

ASF Comdev tools

ASF Community Development (ComDev) project partners with other groups across the ASF to provide resources, tools, programs, and advice in order to attract, retain, educate, and grow key communities around the Apache Software Foundation, in support of sustainability producing software for the public good.

Other repositories:

Contents of this repository:

  • asf-highlights - tools for finding foundation-wide activity
  • project-activities - tools for project-specific activity