Get artifacts with limit, display name search and sort, does not return correct set of packages
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glare |
Fix Released
|
High
|
Kushal Agrawal |
Bug Description
When there are a total of 4 artifacts matching the search criteria, only single artifact package is returned.
The below query has search with the text "Operation Metadata", limit=5 and sorted on name in ascending order.
Notice that the count of the artifacts is 4, where as only one record is displayed.
API Request:
https://{{BEFQDN}
Response:
{
"artifacts": [
{
"tags": [],
"name": "cbnd_batch_
"id": "3e8604fd-
}
],
"total_count": 4,
"type_name": "all",
"display_
"first": "/artifacts/
"schema": "/schemas/all"
}
Changed in glare: | |
assignee: | nobody → Kushal Agrawal (kushal2605) |
importance: | Undecided → High |
1. this is not related to any specific field search.
2. it is only reproducable in mysql database.