Body: <p>I'm having a very bizarre problem and was wondering if anyone else has had this happen. I have a page displaying thumbnails of product sheets. </p>
  
  <p>My loop code starts with this: </p>
  
  <p><code>{% for entry in craft.entries.section('resources').order('title asc') if entry.industry.label == "Healthcare" and entry.documentType.label == "Product Sheet" %}</code></p>
  
  <p>If I leave it like this, I am missing the last three entries alphabetically (they start with V, W and Z). </p>
  
  <p>If I change it to be descending order by title instead of ascending, I get all but one entry. </p>
  
  <p>And if I change the order to be based on a field I have called lastUpdated, it will show all of the entries. </p>
  
  <p>With the above loop code, if I change the names of the missing three entries to have earlier letters in front of them (i.e. changing Value Care to AValue Care), all entries will appear and no additional entries will fall off.</p>
  
  <p>This is such a strange problem, and I feel like I'm crazy. Has anyone else seen something like this happen? </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-16T22:14:24.087Z
Comments.Text: That sounds really weird. Just checking, what happens when you add a `limit(null)` parameter to your query, i.e. `{% for entry in craft.entries.section('resources').order('title asc').limit(null) %}`?
Comments.UserDisplayName: Mats Mikkel Rummelhoff
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-16T22:20:40.687Z
Comments.Text: @MatsMikkelRummelhoff was thinking the same thing.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-18T02:23:26.393Z
Comments.Text: @MatsMikkelRummelhoff – That worked. Thank you! So weird that's needed, since it will show all of them without it with the different order parameters, and since there are only a total of about 15 entries. Thanks again for a solution!
Comments.UserDisplayName: mlangston
Tags: <entries><order>
Title: Missing entries if order of entries is changed
ThreadText: # Missing entries if order of entries is changed
  
  (Asked by: username_0 on 2016-08-16)
  
  I'm having a very bizarre problem and was wondering if anyone else has had this happen. I have a page displaying thumbnails of product sheets.
  
  My loop code starts with this:
  
  `{% for entry in craft.entries.section('resources').order('title asc') if entry.industry.label == "Healthcare" and entry.documentType.label == "Product Sheet" %}`
  
  If I leave it like this, I am missing the last three entries alphabetically (they start with V, W and Z).
  
  If I change it to be descending order by title instead of ascending, I get all but one entry.
  
  And if I change the order to be based on a field I have called lastUpdated, it will show all of the entries.
  
  With the above loop code, if I change the names of the missing three entries to have earlier letters in front of them (i.e. changing Value Care to AValue Care), all entries will appear and no additional entries will fall off.
  
  This is such a strange problem, and I feel like I'm crazy. Has anyone else seen something like this happen?
  
  **Tags:** entries, order
  
  > **Comments:**
  > **username_1**: That sounds really weird. Just checking, what happens when you add a `limit(null)` parameter to your query, i.e. `{% for entry in craft.entries.section('resources').order('title asc').limit(null) %}`?  
  > **username_2**: @username_1 was thinking the same thing.  
  > **username_0**: @username_1 – That worked. Thank you! So weird that's needed, since it will show all of them without it with the different order parameters, and since there are only a total of about 15 entries. Thanks again for a solution!  
  
  ---
  
  ## 0 answers
  
  