End users want to be able to sort their tickets by ticket ID

9 Comentarios

  • Sebastiaan Wijchers
    Community Moderator

    Hello Cyn,

    That's possible when you edit your theme. In the default Copenhagen theme, you will find this on (or around) line 64 in requests_page.hbs:

    <th>{{t 'id'}}</th>

    When you change this to:

    <th>{{#link 'requests' sort_by='id'}}{{t 'id'}}{{/link}}</th>

    Then your customers will be able to order their tickets by ID.

    With kind regards,

    Sebastiaan
    Sparkly ⭐

    P.S.

    Let me know when you don't know how to edit your theme, then I'll give some more instructions.

     

    1
  • Cyn Armistead

    Thank you very much!

    0
  • Sebastiaan Wijchers
    Community Moderator

    You're welcome!

    0
  • Bill Nemec

    Hi, I've implemented this change to sort the ID column by ID but it appears not to be doing a strict numeric sort; I end up with this below when I click on the column - clicking again reverses the order but its still not numerically sorted. Any suggestions?

    0
  • William Nemec

    Commenting on using my new email address so I can be sure to see any response to the above sort ID issue.
    thank you
    Bill Nemec

    Lumeta FireMon support

    0
  • Nicole S.
    Zendesk Community Team

    Hey William - 

    You can always just click the "Follow" button at the top of any post to receive notifications. You're automatically subscribed if you comment, but you can also subscribe without having to comment. :) Just make sure you're logged in to the Help Center with the email address you want to subscribe with.

    1
  • William Nemec

    Anyone from Zendesk or the or the Zendesk community know why my ticket ID field is NOT sorting them numerically nor even alphanumerically?

    Thanks,
    Bill

    0
  • Kay
    Community Moderator

    William Nemec

    That's weird.

    Could you try Sebastiaan's tip, but instead of sorting on ticket ID try sorting on created at.

    <th>{{#link 'requests' sort_by='created_at'}}{{t 'id'}}{{/link}}</th>
    0
  • William Nemec

    Sorting by created_at does not work either since the user view buckets them into "months/years" and groups them by "6 months ago" e.g. which would mean that any/all tickets entered 6 months ago are not sorted numerically by ID.

    0

Iniciar sesión para dejar un comentario.

Tecnología de Zendesk