DMXzone App Connect Support Product Page

Solved

Multiple paged queries on a page

Reported 23 Mar 2017 15:51:08
1
has this problem
23 Mar 2017 15:51:08 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 24 Mar 2017 07:34:09
24 Mar 2017 07:34:09 Teodor Kuduschiev replied:
Hello Brad,
As i replied to your email, this is going to be fixed in the upcoming update.
Replied 24 Mar 2017 14:03:11
24 Mar 2017 14:03:11 Brad Lawryk replied:
Great! Thanks.Teodor.
Replied 24 Mar 2017 14:03:13
24 Mar 2017 14:03:13 Brad Lawryk replied:
Great! Thanks.Teodor.
Replied 28 Mar 2017 14:20:51
28 Mar 2017 14:20:51 Teodor Kuduschiev replied:
Hi Brad,
Please update to the latest version, this issue is fixed there.
Replied 28 Mar 2017 15:46:01
28 Mar 2017 15:46:01 Brad Lawryk replied:
Thanks Teodor,

What version number should it be? My DMX Extension Manager isn't showing any updates?
Replied 29 Mar 2017 13:39:08
29 Mar 2017 13:39:08 Teodor Kuduschiev replied:
Please hit the refresh button in extension manager, if you do not see the update ...
Replied 29 Mar 2017 15:20:29
29 Mar 2017 15:20:29 Brad Lawryk replied:
I have pressed the refresh button many times.
Replied 30 Mar 2017 07:17:01
30 Mar 2017 07:17:01 Teodor Kuduschiev replied:
Well the latest version is 1.0.6 ... you can find it under updates:

Replied 30 Mar 2017 17:06:38
30 Mar 2017 17:06:38 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