e8cc1314

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Fix autocomplete missing items added without a section (#53)

Previously rememberItemSection only wrote to item_sections when the
item had a non-empty section, so items added without a section were
never available as autocomplete suggestions. Now it always upserts,
storing an empty string for section when none is provided. GetSections
already filters WHERE section != '', so section autocomplete is
unaffected.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Reviewed-on: https://codeberg.org/mtlynch/grosiree/pulls/53
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>