ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Multiple statuses bug

October 19, 2012 12:53pm

Subscribe [2]
  • #1 / Oct 19, 2012 12:53pm

    swedenfishing

    26 posts

    Hey, is there a maximum number of statuses that can be used? I have 20 status groups, each representing an area of Sweden. All this is then used in google maps etc to print markers and so on. It has been a good system, however now I’m getting a weird error. Some of my markers/entries on the map just disappear randomly (no matter what status group they belong to) if I use all 20 groups in a pipe. However, if I remove one of my status groups so that I only have 19 it all works as it should. Have you heard of this problem before and know if there is a fix? Is there a limit or is there something else thats wrong here? I didn’t notice the problem earlier and it is very posible it was all working as expected in v2.1.0 (but can’t say that for sure). I’m now using v2.5.3.

    A some what related question, is there no value I can type that says status=“all” or something instead of having to type the pipe with every one of the status groups?

    Thanks,
    Johan

  • #2 / Oct 22, 2012 4:14pm

    Dan Decker

    7338 posts

    Hi swedenfishing,

    It very likely has to do with limit and not status. See, without a limit specified, channel entries defaults to “100”.
    So:

    {exp:channel:entries channel="locations"}
    
    and 
    
    {exp:channel:entries channel="locations" limit="100"}

    Are exactly the same. Try adding a high limit:

    {exp:channel:entries channel="locations" limit="999"}

    Do your missing entries return?

    A some what related question, is there no value I can type that says status=“all” or something instead of having to type the pipe with every one of the status groups?

    Indeed, status=“not closed”

    Let me know if you have any questions!

    Cheers,

  • #3 / Oct 25, 2012 6:19am

    swedenfishing

    26 posts

    Thank you! It worked. Didn’t know there was a default limit.

    /Johan

  • #4 / Oct 29, 2012 1:20pm

    Kevin Smith

    4784 posts

    Glad Dan could help, Johan! Anything else we can do for you?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases