2010 August, 24 (Guerric)

    Table of contents
    No headers
    http://bugs.developer.mindtouch.com/view.php?id=8676
    // Paste PHP Code
            DekiPlug::getInstance()
                ->At('site', 'search')
                ->With('q', $query)
                ->With('constraint', implode(' ', $constraint))
    -            ->With('parser', 'lucene');
    +            ->With('parser', 'lucene')
    +            ->With('nocache'); // bugfix #8676: Search query for page template dialog should use 'nocache' arg
            $Result = $Plug->Get();
           
            $templates = $Result->getAll('body/search/page', array());
            if (!$Result->isSuccess() || empty($templates))
            {
                return $Result;
            }
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by