• Sorting in Views

    By Ingo Spichal 2 decades ago

    Hi,



    I have a problem with the sort order in the categorized views. I imported some documents from another Notes-Database via a short Scriptcode.



    The following items are set correct (as far as I can tell) :


    • Category1
    • Content
    • Created (Original Date from the Source Document)
    • CreatedServer
    • Form
    • Subject



      After import, I refreshed the imported docs, so the computed fields are set.



      It works great, but the sort order in the view is incorrect. The date is sorted ascending but should be descending. When I create a new document, it is sorted as expected.



      Did I miss a field for sorting ?



      Kind regards

      Ingo Spichal
    • Got it !

      By Ingo Spichal 2 decades ago

      I should have opened my eyes earlier ;-)



      The views are sorted by LastResponseDate. I simply forgot to fill this field with the created date of the original document, so the import date was set here.



      Now I set LastResponseDate = Created and everything works fine.