Author Topic: Bug with searching products by sku in Admin Panel  (Read 1622 times)

Joe Bourque

  • Jr. Member
  • **
  • Posts: 76
Bug with searching products by sku in Admin Panel
« on: August 21, 2012, 18:38:39 pm »
When searching for products by sku No products are returned

The fix is as follows:

In file administrator/components/com_virtuemart/models/product.php

Around Line 151 Replace This:
Code: [Select]

$valid_search_fields = array('product_name');

With This:
Code: [Select]

$valid_search_fields = array('product_name','product_sku');


Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10144
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Bug with searching products by sku in Admin Panel
« Reply #1 on: August 21, 2012, 18:45:17 pm »
You do not say your version. This should be already fixed for 2.0.8e and we have now 2.0.9
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Joe Bourque

  • Jr. Member
  • **
  • Posts: 76
Re: Bug with searching products by sku in Admin Panel
« Reply #2 on: August 21, 2012, 19:24:27 pm »
Sorry Milbo I am using 2.0.8 didn't see 2.0.9 was out  :-\

Joe Bourque

  • Jr. Member
  • **
  • Posts: 76
Re: Bug with searching products by sku in Admin Panel
« Reply #3 on: August 21, 2012, 23:17:52 pm »
I went back and looked an the version I'm running is 2.0.8e and the fix was not in that version.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10144
  • VM3.9 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Bug with searching products by sku in Admin Panel
« Reply #4 on: August 22, 2012, 14:04:10 pm »
yeh it somehow dissappeared, some svn hickup.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/