Deprecated: Joomla\Input\Input implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 41

Deprecated: Return type of Joomla\Input\Input::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /homepages/13/d380392445/htdocs/Jlive/libraries/vendor/joomla/input/src/Input.php on line 170
Search Engine - Macrotone Forum

Unknown Error 8192: KunenaControllerApplicationDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in libraries/kunena/controller/application/display.php on line 21


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/route/route.php on line 437


Unknown Error 8192: ComponentKunenaControllerWidgetAnnouncementDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/widget/announcement/display.php on line 18


Unknown Error 8192: ComponentKunenaControllerTopicItemDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/display.php on line 25


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/forum/category/category.php on line 415


Unknown Error 8192: Automatic conversion of false to array is deprecated in libraries/kunena/bbcode/bbcode.php on line 107

Search Engine


Unknown Error 8192: ComponentKunenaControllerTopicItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/actions/display.php on line 23


Unknown Error 8192: ComponentKunenaControllerTopicPollDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/poll/display.php on line 21


Unknown Error 8192: ComponentKunenaControllerTopicItemMessageDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/topic/item/message/display.php on line 23

12 years 1 week ago - 12 years 1 week ago #1 by Chris
Search Engine was created by Chris
Hi Geoff,

I've got another quick question:
Is it possible to add (or index) the issue number (not id) to the Smart Search, in order to give people the ability to just search for their issue number...
Right now it's just possible to search in the texts of the issues, is that correct?

I tried adding the following to plugins\search\issuetracker\issuetracker.php
on Line 80:

. " OR " . $db->nameQuote('alias') . " LIKE $text"

and on Line 90:

. " OR " . $db->nameQuote('alias') . " LIKE $word";


Best Regards
Chris

[Edit]Sorry... I forgot to mention that the approach I mentioned above did not work... ;-)

Edited by Chris - 10.05.2012 10:51

Unknown Error 8192: ComponentKunenaControllerMessageItemActionsDisplay implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in components/com_kunena/controller/message/item/actions/display.php on line 25

Please Log in or Create an account to join the conversation.

12 years 1 week ago #2 by geoffc
Replied by geoffc on topic Re: Search Engine
Sounds a reasonable idea.

I will have a quick look. It might even make the next version release.

Added:

You almost got it.

On Line 80:

. " OR i." . $db->nameQuote('alias') . " LIKE $text"

and on Line 90:

. " OR i." . $db->nameQuote('alias') . " LIKE $word";

You need the 'i.' to make the alias field unique, since there is an alias field in the projects table as well.

I would also change line 124 to:

$query = "SELECT CONCAT_WS(': ',i.alias, i.issue_summary) AS title, "

so that the issue number is in the search output title.

As you correctly said only the issue summary, issue resolution and the issue description text fields are searched without this change. Also the issue has to have been published such that it is visible in the front end.

Geoff

Edited by geoffc - 10.05.2012 16:59

Regards
Geoff

Please Log in or Create an account to join the conversation.

Time to create page: 0.132 seconds
Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries