21301 Posts in 5735 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 185 Views |
-
Tags LIKE in SS3

21 October 2012 at 10:42am
return DataObject::get('BlogEntry',"Tags LIKE '%testimonial%'", "", "", "1");
How do I translate that into SS3?
Thanks
-
Re: Tags LIKE in SS3

21 October 2012 at 12:48pm
BlogEntry::get()->filter('Tags:PartialMatch', 'testimonial');
See the datamodel docs for more information.
| 185 Views | ||
|
Page:
1
|
Go to Top |

