postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.81k stars 839 forks source link

Feature request - Sort collection requests #4253

Open alan-givati opened 6 years ago

alan-givati commented 6 years ago

App Details:

Postman for Mac
Version 6.0.7-canary01
OS X 17.4.0 / x64

Issue Report:

  1. I lost the order of my collection requests after an update.
  2. Ordering requests manually is time-consuming. Please add a feature to sort a collection; by title would certainly cover my use case. Maybe custom sorting (by any request item property) could also be useful to some.
SamvelRaja commented 6 years ago

@alan-givati Update should not change the order of request inside the collection. Is that the order of collection? or the order of requests inside the collection changed after the update.

alan-givati commented 6 years ago

@SamvelRaja The order of the requests inside each collection was lost, with new seemingly random positions for each request item.

SamvelRaja commented 6 years ago

@alan-givati Thanks for the info. We had an issue in our initial canary versions from 6.0.1-canary01 to 6.0.4-canary01 which lost the order of the request while migrating data from 5.x version to 6.x version.

Can you check the order of the collection in the server, click -> arrow icon in the collection -> in details view -> click the view docs button.

If the order is proper, then logout and login back will fix the problem for you in app.

Anyway, I am forwarding your concern of having sort for requests to our UI/UX team.

alan-givati commented 6 years ago

@SamvelRaja Understood. I could not find a "view docs" button. Do you mean "View in web" ? It does not work; I get sent to a URL https://documenter.getpostman.com/collections/{some ID} that displays an error: "404 The resource you're looking for can't be found. Please check the URL before trying again."

Yes, something went wrong here; I see old collections in https://app.getpostman.com/dashboard/collections/private and /team is empty.

SamvelRaja commented 6 years ago

@alan-givati This need some more information to debug. Can you send a mail to help[at]getpostman[dot]com with your collection name from your registered email address.

alan-givati commented 6 years ago

@SamvelRaja Hi Samvel. I sent an email to that address last week. Did you get it?

ChrisYarland-Price commented 6 years ago

This Happens all the time i try to have a backed up version that i can import at all times as i got sick of having to reorder stuff

chipallen2 commented 5 years ago

Any update on this? My collections also got reordered and now the sort icon isn't there next to the add collection button like it is supposed to be so I can't resort them.

I'm on v6.6.1 - windows.

I tried going to https://web.postman.co/me/collections and I don't see a sort button over there either to help me.

lostless13 commented 5 years ago

Second this feature. Have to manually sort a large request collection is really frustrating. The ability to sort by folder/request name would be a big improvement.

ghost commented 5 years ago

+1 7.0.4 here no icon

bisutti commented 5 years ago

On version 7.0.6, the sort icon no longer exists.

ghost commented 5 years ago

It's not there on 7.0.4 either

yonatron commented 5 years ago

Come ON you guys!! WE NEED SORTING!! Please add this feature back in - ASAP... Thank you...

JustinLavertu-iQ commented 5 years ago

Sorting would be great but the first thing that needs to happen is being able to reorder collections. There is no way to reorder collections in the Sidebar at all.

johnli2210 commented 5 years ago

@alan-givati @yonatron @JustinLavertu-iQ @jbruns2015 Looks like the chrome app (deprecated) still has the sort feature. Unfortunately as it's deprecated I don't think it syncs with your account... Perhaps there is a way to import your collections to the Chrome App, sort and then export? I haven't tested it, but could be a workaround.

Postman_and_Postman

ghost commented 5 years ago

Good to know.

Desktop app needs to be fixed.

As Pink Floyd would say "is there anybody in there, just nod if you can hear me, is there anyone home?" directed at the developers to add it back please.

csicky commented 5 years ago

Is this thing on?

Gcsaniz commented 5 years ago

Another vote to fix the missing sort icon! On the latest version 7.2.2 of Postman for Mac OS and there is no way to execute the "Reorder Collections" function that is clearly documented on the Postman learning site:

https://learning.getpostman.com/docs/postman/collections/managing_collections/#reorder-collections

migumun commented 4 years ago

Is there any update on this? I just got 7.7.3 on linux and the sort feature is still missing. It is really inconvenient to reorder the stuff manually (worst part was that I lost ordering right before doing a customer demo with no time to react :( )

serg1409 commented 4 years ago

Postman Team! Please, please fix it! See also https://github.com/postmanlabs/postman-app-support/issues/4272

smccue commented 4 years ago

Still not there in Mac desktop Version 7.23.0 (7.23.0). This is pretty ludicrous: sorting by name is easy, and exists in basically every other application where there is a list. And you used to have it.

dshippy56 commented 3 years ago

To summarize:

ChillarAnand commented 3 years ago

Any plans on fixing this in the next version?

fgiacomelli commented 3 years ago

+1 for this request!

GlimpRemco commented 3 years ago

Help!!!! Every time I import my collection, the sorting of all my requests inside the folders are all messed up. I’m using the latest Desktop version v7.35.0

sheprnd commented 3 years ago

+1 for this request!

technikhil314 commented 3 years ago

+1 for this. Especially for shared collections. It becomes difficult to find what we want.

mnannola commented 3 years ago

+1, having to drag and drop each call in a collection is not very efficient when you have 100+ calls in a collection.

GlimpRemco commented 3 years ago

Updating to Postman Desktop version 7.36.0 solved the sorting issue for me

GlimpRemco commented 3 years ago

@clarkwang I had an issue, when I imported a Collection the Requests did not import in the correct order, they were all mixed up in the folder. This issue is fixed now, So when I import a Collection the requests are in the same order as when I exported the Collection

Jan1torEarl commented 3 years ago

+1 How is this not a thing??

BerlijnGiscdic commented 3 years ago

+1 we've been waiting for too long now

amaillo-mc commented 3 years ago

+1 for me too

pantonis commented 3 years ago

my collections are messed. I have hundreds of endpoints and they cannot be sorted. I cannot imagine that they designed postman without this important feature. I mean what were they thinking?

ghost commented 3 years ago

I just want to sort my list of collections alphabetically.

JasinYip commented 3 years ago

This is a dead project. The owners do not care about what the users thinking.

andres07a commented 3 years ago

This may help someone

const fs = require('fs')
const path_file = 'postman_collection.json'
const rawdata = fs.readFileSync(path_file)
const postman_collection = JSON.parse(rawdata)
postman_collection.item.sort((a, b) => (a.name > b.name ? 1 : -1))
fs.writeFileSync(path_file, JSON.stringify(postman_collection)) // folders currently sorted ascending
brandonkirsch commented 2 years ago

The price keeps going up but the features keep being removed. What gives?

Redhunt2013 commented 9 months ago

this is a simple option missing from the tool