{"issue":{"created_at":"2011-12-02T13:43:01Z","state":"open","updated_at":"2011-12-02T13:43:01Z","comments":0,"user":{"gravatar_id":"170b793334641924dcd734adb69badc4","id":311043,"url":"https://api.github.com/users/MichaelvanLaar","avatar_url":"https://secure.gravatar.com/avatar/170b793334641924dcd734adb69badc4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"MichaelvanLaar"},"body":"FirstChildRedirect seems to takeover the action even if it shouldn’t. I have the following line in a template:\r\n\r\n[[!getNumber:is=`1`:then=`[[FirstChildRedirect]]`:else=`[[$video-gallery]]`? &parentId=`[[*id]]`]]\r\n\r\ngetNumber returne the number of children of the specified resource. I want to show a list page (= [[$video-gallery]] ) if there are more then one children. And I want to redirect to the only child if there is only one.\r\n\r\nUnfortunately FirstChildRedirect is always executed. By the way, the same happens if I use the If-snippet instead of output filters.","assignee":null,"id":2427274,"labels":[],"number":3,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Not working within an if statement","closed_at":null,"html_url":"https://github.com/Mark-H/FirstChildRedirect/issues/3","url":"https://api.github.com/repos/Mark-H/FirstChildRedirect/issues/3","milestone":null},"action":"opened"}