Ticket #233 (closed defect: fixed)
Sort on 'mediafile_duration' gives strange result
| Reported by: | Michiel.Schok | Owned by: | robert |
|---|---|---|---|
| Priority: | major | Milestone: | MediaMosa 2.1 |
| Component: | Core | Version: | |
| Keywords: | Cc: | ||
| MoSCoW: | Must Have | Estimated time after impact analysis: | |
| Related to project: | none | Tested: | yes |
| Accepted: | yes | Estimated Hours: |
Description (last modified by Michiel.Schok) (diff)
When performing a search query on assets and sorting by 'mediafile_duration', we observe strange results. Some of the assets appear twice in the result list.
Compare the following two results:
[GET] asset?limit=50&hide_empty_assets=true&cql=((owner_id==SURFNET.michiel))+sortby+mediafile_duration ... <item_count_total>32</item_count_total> ...
and
[GET] asset?limit=50&hide_empty_assets=true&cql=((owner_id==SURFNET.michiel))+sortby+title ... <item_count_total>29</item_count_total> ...
It seems as if the 'external assets' with an empty 'mediafile_duration' appear as well at the top of the list, as on the bottom of the list.
Change History
Note: See
TracTickets for help on using
tickets.
