In Joomla you can search for articles, modules, users, etc by id, when you type like id:123
It would be great using something similar with Virtuemart too
When I check the core class UsersModelUsers it's a simple code:
if (stripos($search, 'id:') === 0)
{
$query->where('a.id = ' . (int) substr($search, 3));
}
it sounds easy to implement
In the core code it also works with username (users), author (articles), link (menus), uid (user notes) so maybe VM could also use some more fields for that.
what do you have for your search settings?
I am not sure what sandomatyas end means, but searching 34 or id:34 is not the same thing. Searching for 34 gives probably a lot of hits. Searching id:34 should give only one return item. id:34
Jörgen @ Kreativ Fotografi
Quote from: Jörgen on September 29, 2018, 20:55:28 PM
I am not sure what sandomatyas end means, but searching 34 or id:34 is not the same thing. Searching for 34 gives probably a lot of hits. Searching id:34 should give only one return item. id:34
Jörgen @ Kreativ Fotografi
exactly :)
Any update with this maybe? I had to modify one of my sites to achive this because we us it on a daily basis but it would be great having a core solution for that.
+1 for this ... would be very useful