mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-09-22 19:16:36 -04:00
Follow-up to #9079. ## Summary - Ignore empty categories when sizing the export feed selector. - Keep the selector height aligned with the category headings and feeds that are actually rendered. - Preserve the grouped export choices and export request format introduced in #9079. ## Root cause The view skipped categories without feeds when rendering `<optgroup>` elements, but the `size` calculation counted every category returned by the DAO. Empty categories therefore increased the listbox height without adding any visible content. ## Before / After | Before | After | | --- | --- | | <img width="1400" height="1000" alt="9079-followup-before-1400x1000" src="https://github.com/user-attachments/assets/f225d97f-8486-4e7d-87eb-cdafd42b53a5" /> | <img width="1400" height="1000" alt="9079-followup-after-1400x1000" src="https://github.com/user-attachments/assets/aeb254e0-6410-4f6f-a0d8-3051c5dd2c83" /> | | `size="10"` for two category headings and two feeds, leaving unnecessary empty space. | `size="4"` for the same data, matching the four rendered rows. |