Skip to content

Conversation

@TTtie
Copy link
Contributor

@TTtie TTtie commented Sep 13, 2025

Re-adds name filtering to /sponsor maps, which was (probably unintentionally) removed by b6bad75. Search implementation was copied over from MapLibrary#getMaps(String) in PGM.

Additionally, SponsorManager#getAvailableSponsorMaps() has been changed to use MapLibrary#getMaps(String) instead of the zero-arity method to avoid stream copies. (Maybe the search query could be passed down to PGM instead of manually filtering it afterwards?)

Re-adds name filtering to `/sponsor maps`, which was (probably accidentally) removed by b6bad75. Search implementation was copied over from MapLibrary#getMaps(String) in PGM.

Additionally, SponsorManager#getAvailableSponsorMaps() has been changed to use MapLibrary#getMaps(String) instead of the zero-arity function to avoid stream copies.

Signed-off-by: TTtie <me@tttie.cz>
@TTtie TTtie force-pushed the fix/sponsor-map-name-filtering branch from ee0e1f3 to c3994f8 Compare September 13, 2025 00:45
@applenick applenick merged commit 1f297ca into PGMDev:dev Nov 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants