Giter VIP home page Giter VIP logo

Comments (4)

mage-eag avatar mage-eag commented on July 19, 2024

Encountered this problem once, the only thing I remember is that it got fixed by itself rather randomly, not sure then if this is directly related to the Stock Availability column (have tried it just now on both 1.6 and 1.7 and the sort is working).
There must be other pre-requisites for the problem to occur, the only thing is to figure which ones.

from mage-enhanced-admin-grids.

mage-eag avatar mage-eag commented on July 19, 2024

Finally encountered it again, in fact it happens on EAV entity grids for which fields are mapped in order to prevent ambiguous filters, once that at least one custom column is added and a filter is applied.
The problem seems to come from the fact that EAV-based collections don't handle well mapped fields. Eg, if you want to filter on product ID, the mapped field is e.entity_id, but as the collection can only recognize entity_id (field without table alias), it does not apply the corresponding order.
Will look into it as soon as possible, but have yet to find which is the better way to fix this.

EDIT : seems to affect 1.7+ versions only (caused in fact by new Mage_Eav_Model_Entity_Collection_Abstract::_renderOrders() method)

from mage-enhanced-admin-grids.

mage-eag avatar mage-eag commented on July 19, 2024

Fixed by 06d1f1c (there might be other solutions but the current one should conveniently do the trick).
Thanks for having reported this issue ! :)

from mage-enhanced-admin-grids.

mystix avatar mystix commented on July 19, 2024

Sweet! Works perfectly now.

Thanks again!

from mage-enhanced-admin-grids.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.