Multiple search terms in data-search attribute (including guids)

Multiple search terms in data-search attribute (including guids)

SomeRandomNameSomeRandomName Posts: 3Questions: 1Answers: 0
edited August 2017 in Free community support

Hi,

I had another closed question but then I realised this wasn't working as expected

If you include multiple search terms including guids in the data-search attribute, you are unable to search for the guids. If you only have a single guid value it will allow you to search for that

<tr data-search="This text part search works the guids don't 566fc620-c6bc-11dd-ad8b-0800200c9a66 a84fe2b5-e380-4700-817c-b68a66aede2d">

Is there some configuration option that affects this?

Thanks

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 63,480Questions: 1Answers: 10,467 Site admin
    Answer ✓

    both be able to search for that term and also what is in the cell itself?

    No. The data-search attribute will override the cell contents for the search. You would need to include both forms in the data-search attribute - e.g. data-search="A. Cox Ashton Cox".

    Allan

  • SomeRandomNameSomeRandomName Posts: 3Questions: 1Answers: 0

    Perfect, that should work, I couldn't see that clearly in the documentation

    Thank you for the response

  • SomeRandomNameSomeRandomName Posts: 3Questions: 1Answers: 0
    edited August 2017

    Actually,

    I'm trying to add two guids into the search, I can search for the text part but not the guid

    <tr data-search="This text part search works the guids don't 566fc620-c6bc-11dd-ad8b-0800200c9a66 a84fe2b5-e380-4700-817c-b68a66aede2d">

  • allanallan Posts: 63,480Questions: 1Answers: 10,467 Site admin
    Answer ✓

    The data-search property needs to be applied to the td cells, rather than the tr.

    Allan

This discussion has been closed.