
problem during search
Reported by neryo | October 25th, 2011 @ 08:44 AM | in 2.0.2 (closed)
hello,
in some cases during a research there are results that link
directly to a module like that
text/show/id/25/src/@random4e5fa837bc1e2
when i click on that link for example the content is like that
Showing text, id:
table: text
tablename: text
classname: text
identifier: id
has_extended_fields: Array
has_one: Array
etc..
this is an error but anyway i think that results should be a page where the content is present.. not a link to a module where the content is saved..
Thanks for your help.
neryo
Comments and changes to this ticket
-
dleffler October 25th, 2011 @ 12:02 PM
- Tag set to search, text
FWIW, the display you are seeing is the parent class/default show template. Generally this means the 'show' template is MISSING for the associated module.
Since there is no 'show' template for the 'text' module because the individual items are not designed to be shown individually, we'll likely have to create/override the expController addContentToSearch method to display the page instead of the item.
However, I'm now seeing problems with the links in a search result which point back to another search which would indicate the search model getSearchResults method has an issue.
May also be tied to ticket #287?
-
dleffler October 26th, 2011 @ 11:12 AM
neryo, could you tell us what version of exponent you are running (2.0-stable, 2.0.1, one of the pre-release versions)?
-
-
dleffler October 26th, 2011 @ 03:08 PM
- Assigned user changed from expNinja to dleffler
neryo, is this an issue on the initial list of search returns, or after paging through the list of search returns? My 'text' returns give me a link to the page containing them (as expected)
OK, there seems to be a problem with 'subsequent' searches using pagination whereby all search returns become links to search for more ...
And (per ticket #287) we still don't deal well with search hits from an item without a title.
-
expNinja October 26th, 2011 @ 04:08 PM
(from [939cc97046858417684bb96fd81c3104326ddbd2]) Fixes links in search results field for paginated pages [#372 ] https://github.com/exponentcms/exponent-cms/commit/939cc97046858417...
-
dleffler October 26th, 2011 @ 04:13 PM
- State changed from new to open
- Milestone set to 2.0.2
- Milestone order changed from 111 to 0
The specific intial issue is fixed for the upcoming release. We were returning hits for text items which were already being tagged by virtue of the page they were on.
Calendar events still have no search link.
Untitled events still have no title, therefore no search link ticket #287
-
expNinja October 26th, 2011 @ 06:15 PM
- State changed from open to resolved
(from [2976066cf0ec99eb57c0ab234f762757950cf78e]) Adds links for calendar search hits. Removes text items from search index since theya re added by navigation module [#372 state:resolved] [#287 owner:dleffler milestone:2.0.2 state:resolved] https://github.com/exponentcms/exponent-cms/commit/2976066cf0ec99eb...
-
neryo December 20th, 2011 @ 10:09 AM
sorry but there are still problems on searchmodule.
expo's search engine finds a record/page for each word is matching... so if we are searching a word in a page and there are 5 of it we have 5 results of the same page..
a workaround could be changing the query of model/search.php on search module putting a GROUP BY original_id.Anyway i still finding links to modules like text in the search results.. i think we should index only pages that contain modules with what we are looking for.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS
Attachments
Referenced by
-
287 Bug? Search results without a title can't be selected/no link (from [2976066cf0ec99eb57c0ab234f762757950cf78e]) Adds li...