Skip to content

Commit

Permalink
fix: imports and @Search fields
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelofns committed Dec 4, 2017
1 parent 03ff25f commit 78e14d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class <%= name.capital %>REST extends AbstractREST< <%= name.capital %>,
@GET
@Override
@Transactional
@Search(fields = {"id", "description"}) // Escolha quais campos serão passados para o frontend
@Search(fields = {"*"}) // Escolha quais campos vão para o frontend Ex: {"id", "description"}
public Result find() {
return bc.find();
}
Expand Down
2 changes: 1 addition & 1 deletion Utils/templates/frontend/entity/_entity-edit.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Component, OnInit } from '@angular/core';
import { Router, ActivatedRoute } from '@angular/router';

import { NotificationService } from '../shared';
import { NotificationService } from '../core/notification.service';
import { <%= name.capital %>Service } from './<%= name.lower %>.service';
import { <%= name.capital %> } from './<%= name.lower %>.model';

Expand Down
2 changes: 1 addition & 1 deletion Utils/templates/frontend/entity/_entity.component.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Component, OnInit, ViewChild } from '@angular/core';
import { ModalDirective } from 'ngx-bootstrap';

import { NotificationService } from '../shared';
import { NotificationService } from '../core/notification.service';
import { <%= name.capital %>Service } from './<%= name.lower %>.service';
import { <%= name.capital %> } from './<%= name.lower %>.model';

Expand Down

0 comments on commit 78e14d5

Please sign in to comment.