[MXS-4397] fields parameter breaks REST-API filtering Created: 2022-11-15 Updated: 2022-11-21 Resolved: 2022-11-21 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | REST-API |
| Affects Version/s: | 6.4.3, 22.08.2 |
| Fix Version/s: | 6.4.4, 22.08.3 |
| Type: | Bug | Priority: | Trivial |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
If both the filter and fields[] query parameters are used in the REST-API, the filtering will remove all values if the value being filtered is not included in the fields being returned. The correct thing to do would be to remove the unwanted fields after the result has been filtered. |
| Comments |
| Comment by markus makela [ 2022-11-21 ] |
|
Added pagination to the REST-API. |