filter by multi-enum not work

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Etienne
    Junior Member
    • Aug 2018
    • 27

    filter by multi-enum not work

    Hello

    i added un field in contact ("type de contact"). it's a multi-enum type.
    when a search in contact with this filter, the result is no good.

    photo 1 = search without filter -> ok (look the "type de contact")
    photo 2 = search with filter "type de contact" = CDDS and it's no ok.

    A single line should appear with "prénom" = "info" because the "type de contact" is CDDS

    it's a bug ?

    thank you for your help.
    Etienne
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Everything works fine. What is your Espo version? Tell me and I will try to reproduce it.

    Comment

    • Etienne
      Junior Member
      • Aug 2018
      • 27

      #3
      Hello,

      the last 5.5.6

      thx

      Comment

      • Maximus
        Senior Member
        • Nov 2018
        • 2731

        #4
        Checked on 5.5.6. Everything works fine. Have you changed something before finding this issue?

        Comment

        • Etienne
          Junior Member
          • Aug 2018
          • 27

          #5
          my version has 5.3.6 this morning and i upgrade to 5.5.6.

          Comment

          • Etienne
            Junior Member
            • Aug 2018
            • 27

            #6
            i tried to the demo crm online and it's ok yes... but on my system it's no work...

            Comment

            • Etienne
              Junior Member
              • Aug 2018
              • 27

              #7
              ok i tested this:

              with a new contact (encoded directly in the crm) it's ok. the filter work.
              but it's no work with imported contact (csv).

              I looked in the database and I see no difference.

              the text is the same in both cases : ["CDDE"]

              Have you an idea?

              Comment

              • Maximus
                Senior Member
                • Nov 2018
                • 2731

                #8
                File that you fave imported was created by yourself or vie Espo export feature?

                Comment

                • Maximus
                  Senior Member
                  • Nov 2018
                  • 2731

                  #9
                  I have tested Espo export/import combination even with changing some data manually in the exported file. Everything works fine. Have you tried to search for other data with the filter?

                  Comment

                  • Etienne
                    Junior Member
                    • Aug 2018
                    • 27

                    #10
                    Hello,

                    I have exported 2 or 3 contacts with multiselect encoded in espo to check the structure.
                    after, i created a csv with the same column name and the same mutiselect structure for example : ["CDDS","MICE"]

                    after import, if i edit a contact, i see the field with "CDDS" and "Mice" but if i search a type_contact it's not work.

                    after i edit this contact, i delete "CDDS" and "Mice" in the field type_contact, i save, i edit again this contact and add CDDS and Mice in field type_contact and i save again.
                    now, the seach is ok.

                    have you a idea ?

                    thx

                    Comment

                    • Maximus
                      Senior Member
                      • Nov 2018
                      • 2731

                      #11
                      Can you send me this csv file to let me reproduce the issue?

                      Comment

                      • Etienne
                        Junior Member
                        • Aug 2018
                        • 27

                        #12
                        it s a sample
                        thx

                        Comment

                        • Etienne
                          Junior Member
                          • Aug 2018
                          • 27

                          #13
                          Hello,

                          Were you able to check my file and reproduce this error ?

                          thank you

                          Comment

                          • Maximus
                            Senior Member
                            • Nov 2018
                            • 2731

                            #14
                            Hello,
                            everything works fine. Try to press F12 in your browser, go to the 'network' tab and run the search. Is there some errors (red records)?

                            Comment

                            • Etienne
                              Junior Member
                              • Aug 2018
                              • 27

                              #15
                              Hello,

                              yes these lines are in red:



                              Comment

                              Working...