snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Have Custom Fields in 'Add New Field to Fieldset' dropdown list be ordered alphabetically

Open apizz opened this issue 7 years ago • 15 comments

Server (please complete the following information):

  • Snipe-IT Version : 4.7.5 in Docker
  • OS: CentOS 7.5

Is your feature request related to a problem? Please describe. When creating or updating a fieldset with custom fields, when you select the 'Add New Field to Fieldset' dropdown menu, custom fields are listed in the order in which they were created in the system. As such, it can be difficult to find the one you're looking for.

Screen Shot 2019-07-25 at 3 46 45 PM

Describe the solution you'd like Would like to see custom fields in the dropdown menu be listed in alphabetical order.

Describe alternatives you've considered Manually renaming all custom fields to be in alphabetical order ... ? Manually changing the database field? Seems dangerous & overly complicated ...

apizz avatar Jul 25 '19 19:07 apizz

Not everyone will want that behavior though. You'd be better off alphabetizing the options in the textarea before adding those dropdown values so that they will be in order.

snipe avatar Aug 15 '19 08:08 snipe

@snipe I don't think I understand your suggestion. How would I go about accomplishing what I'm looking for in having this list of custom fields be alphabetized?

apizz avatar Aug 21 '19 01:08 apizz

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

stale[bot] avatar Oct 20 '19 02:10 stale[bot]

Yes still relevant

apizz avatar Oct 21 '19 04:10 apizz

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

stale[bot] avatar Oct 21 '19 04:10 stale[bot]

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

stale[bot] avatar Dec 20 '19 04:12 stale[bot]

Yes

apizz avatar Dec 20 '19 21:12 apizz

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

stale[bot] avatar Dec 20 '19 21:12 stale[bot]

+1 If you have an extensive list of custom fields, the chronologic order of the list makes no sense. It makes it extremely hard to find the field you are looking for.

As a work around, is there an way to alter the order of the fields in the popup directly in the database?

cliff-LINKS avatar Dec 28 '19 18:12 cliff-LINKS

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

stale[bot] avatar Feb 27 '20 05:02 stale[bot]

Or rather, allow a custom order other than creation date in the custom fields list, and respect that custom order in the dropdown list.

Cliff

Op 27 feb. 2020 om 06:25 heeft stale[bot] [email protected] het volgende geschreven:

 Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

cliff-LINKS avatar Feb 27 '20 05:02 cliff-LINKS

Okay, it looks like this issue or feature request might still be important. We'll re-open it for now. Thank you for letting us know!

stale[bot] avatar Feb 27 '20 05:02 stale[bot]

Is this still relevant? We haven't heard from anyone in a bit. If so, please comment with any updates or additional detail. This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Don't take it personally, we just need to keep a handle on things. Thank you for your contributions!

stale[bot] avatar Apr 28 '20 04:04 stale[bot]

This is no longer necessary after the v4.9.1 release introduced the ability to search for custom fields when being added, which is ultimately a better solution. Therefore, this FR is no longer relevant. Closing ...

apizz avatar Apr 28 '20 12:04 apizz

I would also like the ability to add a custom field drop down list. To do the sorting a setting that lets you set the numerical value of the order or just automatically sort by its alphanumerical value. Specifically why I would like it would be to add a field for my Copiers and Managed printers to let staff select the support vendor from a list when they create the asset and then add it to one of our support contracts.

justwork500 avatar Oct 06 '20 18:10 justwork500