appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
33.77k stars 3.63k forks source link

[Bug]: Mongodb collections are not in sorted order in schemas. #35842

Open Naveen-Goud opened 3 weeks ago

Naveen-Goud commented 3 weeks ago

Is there an existing issue for this?

Description

when we connect with mongodb database and execute any query the collections after getting from db are not in sorted order in schemas.

Steps To Reproduce

1.login into the appsmith application.

2.open the data tab in app and add mongodb data source.

3.add some collections in mongodb, ignore if present.

4.try to execute any query .

5.after that when we open the schemas , we observe that the collections are in not sorted manner.

Screenshot from 2024-08-05 16-07-18

Public Sample App

No response

Environment

Production

Severity

Low (Cosmetic UI issues)

Issue video log

No response

Version

release

raushan3737 commented 3 weeks ago

Hi @Nikhil-Nandagopal , @rohan-arthur, I would like to work on this Issue. Can i pick this issue?

rohan-arthur commented 3 weeks ago

sure, @raushan3737 In future, please pick one from this list: https://github.com/appsmithorg/appsmith/issues?q=is%3Aopen+is%3Aissue+label%3A%22Inviting+Contribution%22

For now, I've added the tag Inviting contribution to this issue as well.

raushan3737 commented 3 weeks ago

Sure @rohan-arthur, Thank you. I have a small request for you and the team. If possible, could you please proceed with the other issue PRs that have been in an open state for weeks? PR Link: https://github.com/appsmithorg/appsmith/pull/35363 https://github.com/appsmithorg/appsmith/pull/35099 https://github.com/appsmithorg/appsmith/pull/34977 https://github.com/appsmithorg/appsmith/pull/35391

rohan-arthur commented 3 weeks ago

@raushan3737 thanks, will remind the respective teams of these.

NilanshBansal commented 3 weeks ago

@Naveen-Goud I assume you have already raised a fix for this issue in this PR -https://github.com/appsmithorg/appsmith/pull/35413 Also this issue is a duplicate of https://github.com/appsmithorg/appsmith/issues/28190

NilanshBansal commented 3 weeks ago

@raushan3737 please don't work on this as the fix has already been raised in this PR -https://github.com/appsmithorg/appsmith/pull/35413

Naveen-Goud commented 3 weeks ago

Hi @NilanshBansal , I have worked on issue #28190 , it was filtering in dropdown, but the in schemas the collections need to be sorted as the PR #35413 does solve sorting collectiond in schemas , it solves the filtering in drop down only.

so I have raised this bug.

NilanshBansal commented 3 weeks ago

Thanks @Naveen-Goud I have reopened this issue and updated the original filtering issue.

@raushan3737 apologies for the confusion, you can go ahead working on this issue.