mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
Merge branch 'AdmitHub-search-title-description' into devel
Conflicts: packages/telescope-search/lib/client/routes.js
This commit is contained in:
commit
3339af6cc9
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,12 @@ Meteor.startup(function () {
|
|||
PostsSearchController = PostsListController.extend({
|
||||
view: 'search',
|
||||
showViewsNav: false,
|
||||
getTitle: function() {
|
||||
return i18n.t("Search") + ' - ' + getSetting('title', "Telescope");
|
||||
},
|
||||
getDescription: function() {
|
||||
return getSetting('description');
|
||||
},
|
||||
onBeforeAction: function() {
|
||||
var query = this.params.query;
|
||||
if ('q' in query) {
|
||||
|
|
Loading…
Add table
Reference in a new issue