51681b4 [frontend] fix for api3 pagination ordering

1 file Authored by praiskup 4 years ago, Committed by praiskup 4 years ago,
    [frontend] fix for api3 pagination ordering
    
    Make sure that we don't override explicit ORDER BY request from
    Paginator caller (reverts 3e73f635ebe8beafd621b160dd), and that we
    use sane defaults:
    - by default order by field: model.id
    - if ORDER BY id => use DESC by default
    - if ORDER BY name => use ASC by default
    - otherwise keep system default ASC/DESC
    
    Fixes: rhbz#1717506
    Fixes: PR#791