JeevanYewale opened a new pull request, #12480: URL: https://github.com/apache/cloudstack/pull/12480
Fixes #12466 ## Problem The `keyword` parameter in the `listBackupOfferings` API was not filtering results. Regardless of the search term provided, the API returned empty results even when matching offerings existed. ## Root Cause The SearchBuilder was using `SearchCriteria.Op.EQ` instead of `SearchCriteria.Op.LIKE` for the name field, preventing wildcard matching. ## Solution - Changed SearchBuilder operation from `EQ` to `LIKE` for the name field - Enables proper wildcard matching with `%` symbols for keyword search ## Testing - Verified that `list backupofferings keyword=test` now returns matching results - Confirmed backward compatibility with existing functionality ## Impact - Fixes broken keyword search functionality - Minimal change with maximum impact (1 line changed) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
