0

I want to show data according to id that is shown in my URL..... my URL is

http://dev.magento.com/admin/customer/index/edit/id/1/key/06ae49324c0bb7e328bc5bd4bb75954fcc787d538a59cb97ce4e1809a1a17ff3/#

my code is

<item name="filter_url_params" xsi:type="array">
                    <item name="customer_id" xsi:type="string">id</item>
                </item>

When i call this it treat "id" as a string and matches "id" as a string in my table column "customer_id" rather then its value.

  • when i call "*" instead of "id" it give me full database record
  • when i call specific value like "2" it return me records of customer_id "2"
  • when i call "id" it returns me values of customer_id "0"

kindly someone please help!!!

  • hey how are you! I'm actually looking for something like this, were you able to solve this? thanks in advance – John Maldivas May 16 '19 at 18:41
  • hi, i am fine . no i can't solve it in this way i solved it by another way – Asad Ullah May 17 '19 at 9:17
  • Can you please help me? which method did you use? is there any link you can give me so I can guide? Thanks! – John Maldivas May 17 '19 at 21:16
  • i don't remember the link and also i checked my extension i that problem is still pending for me sorry can't help in this – Asad Ullah May 20 '19 at 5:56
0

You need add parameter name "customer_id" to your url. And change <item name="customer_id" xsi:type="string">id</item> to <item name="customer_id" xsi:type="string">*</item>

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.