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

$sort default elipsis is unintuitive

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.15.0
    • Affects Version/s: None
    • Component/s: Aggregation pipeline
    • Labels:
      None
    • Iteration Halloumi

      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?

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

              Created:
              Updated:
              Resolved: