klox7 VIP
Total posts: 914
28 May 2014 09:21

I have my main type = Type1.

In full record view of Type1 I display child items (from another type) with parent field. This parent field has search parameter on. But when I type name (title) of child record in text search it doesn't show Type1 results that have child item with that name in it. Filter module section is for main type.

Is this behaviour OK?

Last Modified: 15 Mar 2016


Sergey
Total posts: 13,748
29 May 2014 00:06

Actualy it should search in titles of related records. ANd I can confirm that it finds parent record ok when search for chilr record title.


klox7 VIP
Total posts: 914
29 May 2014 06:34

If you want to add child items then you need parent field in main content type?


Sergey
Total posts: 13,748
29 May 2014 23:01

No. If you want to add children only need parent type itself. Parent field is only neded if you want to show list of children in parent.

But you always need child field because that is where you select relation itself. you see when you select relation in child field, you relate article and if there is no parent field then it will still work.


klox7 VIP
Total posts: 914
30 May 2014 06:14

So if my main type (parent) is "Country" and my other type is City (child) and I want to display City inside Country I have to create field "parent" in Country, right? What purpose would child field have here?


pepperstreet VIP
Total posts: 3,837
30 May 2014 10:05

Sergey No. If you want to add children only need parent type itself. Parent field is only neded if you want to show list of children in parent... ...if there is no parent field then it will still work.

Really? That is new to me! Thanks for the heads-up.


Sergey
Total posts: 13,748
01 Jun 2014 23:36

pepperstreet What purpose would child field have here?

Child field stores a connection and also may display country inside the city.


klox7 VIP
Total posts: 914
11 Aug 2014 13:21

Sergey Actualy it should search in titles of related records.

For me it does not.

SETUP: Type 1 (main) - parent field - searchable. Type 2 - child field - searchable. Filter module for searching in Type 1. When I enter title of records of Type2 in text search of filter module of Type 1 it doesn't show Type 1 results that have attached Type 2 records.


klox7 VIP
Total posts: 914
26 Sep 2014 18:08

klox7

Sergey Actualy it should search in titles of related records.

For me it does not.

Is there any special parameter for this?


Sergey
Total posts: 13,748
29 Sep 2014 07:25

klox7 Is there any special parameter for this?

I think this field have to be searchable.


danielbidala VIP
Total posts: 153
26 Feb 2016 12:07

Cobalt 8.630. I can confirm it's not searchable! Any idea why?


Sergey
Total posts: 13,748
03 Mar 2016 02:27

Please check if you have titles of related records in fieldsdata field of js_res_record table.


danielbidala VIP
Total posts: 153
04 Mar 2016 08:01

The title of related article is not there. I see only the id of related article in the fields column.


pepperstreet VIP
Total posts: 3,837
05 Mar 2016 13:03

Maybe Tools -> Re-Index is of any help?


Sergey
Total posts: 13,748
08 Mar 2016 04:54

Have you eneabled searchable on related fields after articles was created? then reindex as suggested. Or resave articles manually.


danielbidala VIP
Total posts: 153
08 Mar 2016 11:27

Searchable is enabled from the beginning on related fields. Now I tried to resave but nothing happen. I use composite title in parent type.


danielbidala VIP
Total posts: 153
12 Mar 2016 20:41

I purchased latest cobalt maybe old version cause the problem but not. Please help me on this.


Sergey
Total posts: 13,748
15 Mar 2016 14:39

I tested locally today. And I confirm that titles are saved.

Please give me access to your site and describe what types, what fields and what links on frontend to those sections.

Powered by Cobalt