New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Similarly named folders can both appear as active in the sidebar #965

Closed
than opened this Issue Sep 16, 2016 · 0 comments

Comments

Projects
None yet
3 participants
@than

than commented Sep 16, 2016

Expected behaviour

Name two asset folders similarly, but different. Only one shows an active state in the CP UI.

Actual behaviour

Both similarly named folders are highlighted as active.

screen shot 2016-09-16 at 5 04 13 pm

### Steps to reproduce 1. Create a container named `Documents`. 2. Create another container named `Documents II`. 3. Click on Assets < `Documents II` 4. Both `Documents` and `Documents II` will be highlighted as active in the sidebar.

It'll actually keep happening with more folder levels.

screen shot 2016-09-16 at 5 06 16 pm

### Server configuration

Operating system:
Safari 10

Web server:
local ubuntu

PHP version:
5.6ish

Statamic version:
Tested in 2.1.12 - 2.1.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment