DMXzone App Connect Support Product Page

Solved

Multiple paged queries on a page

Reported 7 years ago
1
has this problem
7 years ago Brad Lawryk posted:
Hi guys,

If you have more than one paged query on a page all paged queries take the limit from the last one. For example in the actions below I have two paged queries. One has a limit of 2 and the other a limit of 10. However, both queries display 10 records. If I reverse the order on the page then both only show 2 records. If I change the limit of the last one from 10 to 50 then both show 50 records even though the first one is set to 2.

<dmx-serverconnect id="clientcomments" url="dmxConnect/api/Workbc/clientcomments.php" dmx-param:comments="query.client" dmx-param:limit="2" dmx-param:offset="commentsoffset.value"></dmx-serverconnect>
<dmx-value id="commentsoffset" name="commentsoffset"></dmx-value>
<dmx-serverconnect id="clientvisits" url="dmxConnect/api/Workbc/clientvisits.php" dmx-param:myvisits="query.client" dmx-param:offset="offsetcheckins.value" dmx-param:limit="10"></dmx-serverconnect>
<dmx-value id="offsetcheckins" name="offsetcheckins"></dmx-value>


Is it not possible to have more than one paged query on a page? Other than the limit they work fine. I primarily build dashboards for a living and it is almost always that it would have more than one paged query on a page.

Brad

Note: I asked this question in support email on March 17th and Teodor replied saying he would let me know the fix for this but I am still waiting.

Replies

Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
Hello Brad,
As i replied to your email, this is going to be fixed in the upcoming update.
Replied 7 years ago
7 years ago Brad Lawryk replied:
Great! Thanks.Teodor.
Replied 7 years ago
7 years ago Brad Lawryk replied:
Great! Thanks.Teodor.
Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
Hi Brad,
Please update to the latest version, this issue is fixed there.
Replied 7 years ago
7 years ago Brad Lawryk replied:
Thanks Teodor,

What version number should it be? My DMX Extension Manager isn't showing any updates?
Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
Please hit the refresh button in extension manager, if you do not see the update ...
Replied 7 years ago
7 years ago Brad Lawryk replied:
I have pressed the refresh button many times.
Replied 7 years ago
7 years ago Teodor Kuduschiev replied:
Well the latest version is 1.0.6 ... you can find it under updates:

Replied 7 years ago
7 years ago Brad Lawryk replied:
Yeah it wasn't showing up in the updates because I still had the latest 'preview' version installed. Got it now, thanks.

Reply to this topic