Little issue found

Topics: Controls
Jan 3 at 4:43 PM
Edited Jan 3 at 10:12 PM
if you have a post category name that contains one or more " ", for example "Real Estate Auction", and you open the admin page: /admin/#/content/categories, and then you click on the icon "Click To View" of that post category to view the categories, it open an window with url like this:
http://community.bidwin.org/category/REAL%20ESTATE%20AUCTION
the correct url should be :
http://community.bidwin.org/category/REAL-ESTATE-MARKET

To fix this:

line 64 in : /admin/app/content/categories/categoryView.html
delete:
<a title="click to view" class="external-link" target="_blank" href="{{SiteVars.RelativeWebRoot}}category/{{item.Title.replace('.', '')}}"><i class="fa fa-external-link"></i></a>
insert:
<a title="click to view" class="external-link" target="_blank" href="{{SiteVars.RelativeWebRoot}}category/{{item.Title.replace(' ', '-').replace(' ', '-').replace(' ', '-').replace(' ', '-').replace(' ', '-')}}"><i class="fa fa-external-link"></i></a>

assume that you have a maximum of 5 " " in your post category name.