'Remove Field From Collection
How can I remove a field from a collection?
I found the method removeFieldFromSelect() in Mage_Core_Model_Resource_Db_Collection_Abstract, but it does not seems to work.
I tried:
$collection = Mage::getModel('bannermanagement/banner')->getCollection();
$collection->removeFieldFromSelect('status');
but still the field shows up. How can I remove the field Status from collection?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
