Feature Request: Pin a default country to the top of country list when creating new Locations

Open
#17,535 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
php
Domain
full-stack

Research direction

No files, tests, or entry points are named in the issue. Start by locating the Location creation form and its country-selection data; done means a configurable default country is pinned at the top while other countries remain available.

Written by the indexing model from the issue text.

Description

We recently started using Snipe-IT at the MSP I work at, and it's been nothing but a pleasure compared to the old system we were using.

As part of our workload, we make frequent use the Location functionality to ship assets nationwide. However the overwhelming majority of our asset tracking is national (with some international).

While I like that Snipe-IT provides a search box to select the country, this can get tedious. I think it'd be useful (for my use case at least) for Snipe-IT to pin a country to the top of the country selection list when creating a new Location.

ie. if I set my default country to Mexico, I'd like it to be pinned to the top like this:

Example with Mexico pinned to the top
Dominant language
PHP
Stars
15k
Forks
4k
Avg merge
1d 10h
Merged PRs (30d)
50

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from grokability/snipe-it

All issues in grokability/snipe-it

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.