mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Compare commits
1 Commits
1.11
...
Prevent-ca
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb039611b8 |
@@ -34,6 +34,7 @@ namespace Orchard.Taxonomies.Controllers {
|
||||
_localizationService = localizationService;
|
||||
}
|
||||
|
||||
[OutputCache(NoStore = true, Duration = 0)]
|
||||
public ActionResult GetTaxonomy(string contentTypeName, string taxonomyFieldName, int contentId, string culture) {
|
||||
var viewModel = new TaxonomyFieldViewModel();
|
||||
bool autocomplete = false;
|
||||
@@ -90,4 +91,4 @@ namespace Orchard.Taxonomies.Controllers {
|
||||
return _taxonomyService.GetTermsForContentItem(part.ContentItem.Id, fieldName, versionOptions ?? VersionOptions.Published).Distinct(new TermPartComparer());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user