Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-2986

$sort default elipsis is unintuitive

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.15.0
    • None
    • Aggregation pipeline
    • None
    • Iteration Halloumi

    Description

      Version 1.15.0-beta.7 (1.15.0-beta.7)

       

      When using the $sort agg pipeline stage, it gives the following prompt:

       

      /**
       * Provide any number of field/order pairs.
       */
      {
        <<field1>>: <<sortOrder>>, ...
      } 

       

      Once you fill in the field and sortOrder, it's unclear that you then have to delete the "..." in order to run the stage.  The error message is not clear either.  Can this be improved?  Do we need the elipsis?

      Attachments

        Activity

          People

            durran.jordan@mongodb.com Durran Jordan
            dan@mongodb.com Daniel Pasette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: