Jump to content

PW internal search doesn't support advanced search


dragan
 Share

Recommended Posts

Is there a reason that PW's core internal search (ProcessPageSearch) doesn't support the newly added "advanced search" method? i.e. the one described at the bottom here #= / with the ability to use * - +.

Did @ryan simply forgot to add it in the module config screen, or maybe because of potential performance bottlenecks?

Just discovered this in the module code:

	/**
	 * Get operators used for searches, where key is operator and value is description
	 * 
	 * @return array
	 * 
	 */
	static public function getOperators() {
		$operators = Selectors::getOperators(array(
			'getIndexType' => 'operator',	
			'getValueType' => 'label',
		));
		unset($operators['#=']); // maybe later
		return $operators;
	}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...