search is not working for custom or default field in magento admin order grid page

I recently suffered with the issue while adding any new custom field to sales order grid in admin panel and gone through the following steps to fix the issue.
1. Go to app/code/core/Mage/Adminhtml/Block/Sales/Order/Grid.php
2. Add the following code to the field which causes the issue.

3. Save and test the search.

Note: This is example for only one field if you are suffering with the same issue for more than one fields then you have to add this code as per the field index name.

Bottom Shadow
Comments (20)
  1. Leesa Levi

    June 12, 2013

    Howdy this is kinda of off topic but I was wondering if blogs use WYSIWYG editors or
    if you have to manually code with HTML. I’m starting a blog soon but have no coding knowledge so I wanted to get advice from someone with experience. Any help would be greatly appreciated!

    • Bhavin

      June 13, 2013

      Hello Lessa,

      We can use WYSIWYG or any other editor to write the blog content and it depends on the website feature, I mean how it is developed. If you have some knowledge of HMTL then you can post the content but in such case you have to code the HTML as you said in your comment. We are happy to assist you if you need more assistance related to blog features or to develop a blog posting website, just shoot an email to enquiry@hiremagentodeveloper.com


  2. Hellen Cothran

    June 18, 2013

    It’s really a great and helpful piece of info. I’m satisfied that you just
    shared this helpful information with us. Please stay us
    informed like this. Thank you for sharing.

  3. Shenna

    June 18, 2013

    Ahaa, its pleasant discussion concerning this article at
    this place at this weblog, I have read all that,
    so at this time me also commenting at this place.

  4. cure for bed bugs

    June 19, 2013

    I like the valuable information you provide in your articles.
    I will bookmark your weblog and check again here regularly.
    I am quite sure I’ll learn lots of new stuff right here! Best of luck for the next!

    • Hi. Thanks for your comment. I am glad to know that you found write up worth bookmarking. Please do visit again. Cheers :)

  5. Tarah

    June 20, 2013

    Useful information. Lucky me I discovered your site by accident,
    and I’m shocked why this coincidence didn’t took place earlier!
    I bookmarked it.

  6. cli.gs

    June 20, 2013

    you are really a just right webmaster. The site loading speed is amazing.
    It seems that you are doing any unique trick. In addition, The
    contents are masterpiece. you have done a fantastic process in this topic!

    • Thanks for appreciating the quality of content and also for appreciating the speed of the website. All the credit goes to developers and designers who strive for performance and quality at same time.

  7. chronic back pain treatment

    September 1, 2013

    I’m not sure where you are getting your information, but
    good topic. I needs to spend some time learning more
    or understanding more. Thanks for great information I was looking
    for this information for my mission.

    • eCommerce Development Company

      September 17, 2013

      We have talented staff who bring and write informative topics which can be helpful to other folks. Hope you got the solution to your problem. Let us know if you need any further assistance. Looking forward to hear from you.

  8. laser spine institute locations

    September 9, 2013

    My family members all the time say that I am wasting my time here at net,
    however I know I am getting familiarity all the time by reading thes good

    • eCommerce Development Company

      September 17, 2013

      I totally agree. You get to know ample amount of new things going on at one place at one time. Its worth spending your time on net.

  9. Heello.com

    June 9, 2014

    Greetings! This is my first visit to your blog!
    We are a team of volunteers and starting a new initiative
    in a community in the same niche. Your blog provided us useful information to work on.
    You have done a outstanding job!

  10. clean up

    June 19, 2014

    I’ve been browsing online more than 2 hours today, yet I never found any interesting article like yours.
    It’s pretty worth enough for me. In my view, if all
    web owners and bloggers made good content as you did, the internet will be a lot more useful than ever before.

  11. Brittney

    June 29, 2014

    My spouse and I stumbled over here by a different website and thought I might as well check
    things out. I like what I see so i am just following you.
    Look forward to checking out your web page for a
    second time.

Leave a Reply

Your email address will not be published. Required fields are marked *

− 4 = four

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Get every new post on this blog delivered to your Inbox.

Join other followers: