Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Dan 61 posts 185 karma points
    Jun 13, 2014 @ 12:35

    Sort uQuery but remove null values

    I have a uquery where I select and sort courses by datetime, but some of the courses dosen't have any datetime so these I want to come in the bottom of the list.

    Im doing somthing like this List

    But I get no courses out it's like it tries to order all in the database before it give me a list of items, then it fails because some have no data and then it can't sort the items.

    I tried with out the sort and then it works but I have a scroll function that loads more nodes and then the new items isent sorted with the first items. this is a problem.

    Hope anyone can help me ! :D

Please Sign in or register to post replies

Write your reply to: