Disable phoca search for some categories

Phoca Gallery plugins - plugins for Phoca Gallery extension
sapo
Phoca Enthusiast
Phoca Enthusiast
Posts: 73
Joined: 13 Apr 2011, 16:28

Re: Disable phoca search for some categories

Post by sapo » 02 Mar 2020, 22:29

at line 242

Code: Select all

$query->where('('.$where.')' . ' AND  a.published = 1 AND a.approved = 1 AND c.id IN(3,4,6,33) AND c.published = 1 AND c.approved = 1 AND  c.access IN ('.$groups.')');
			//$query->group('a.id');
			$query->order($order);
Thanks to the Universal AJAX Live Search Support!!

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42718
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Disable phoca search for some categories

Post by Jan » 03 Mar 2020, 14:53

Ok
If you find Phoca extensions useful, please support the project

Post Reply