Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contacts: Don't mix contacts and contactsraw
The template personal/list is used by contacts and contactsraw. However the group filter uses the absolut url {% url 'contacts' %} which jumps back to reverse mapping of "contacts". Additionally, "name="contacts" was registered for both urlpatterns /contacts and /contactsraw, so it resolves to /contactsraw. This makes us effectively jump to contactsraw whenever the group filter is changed. Give /contacts and /contactsraw urlpatterns different name attributes. Use relative URLs with just a replaced query string for the group filter links.
- Loading branch information