This commit is contained in:
Michele Artini 2022-12-16 15:45:06 +01:00
parent ab1e85fa98
commit 04f0192a1b
3 changed files with 2 additions and 5 deletions

View File

@ -25,6 +25,7 @@ import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page; import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.domain.Specification; import org.springframework.data.jpa.domain.Specification;
@ -448,6 +449,7 @@ public class DsmService {
} }
@Transactional @Transactional
@Cacheable("brosable_terms")
public List<BrowseTerm> browseTerm(final DsmBrowsableFields f) { public List<BrowseTerm> browseTerm(final DsmBrowsableFields f) {
switch (f) { switch (f) {
case type: case type:

View File

@ -1,4 +1,3 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">
<div class="col"> <div class="col">

View File

@ -1,4 +0,0 @@
- Cache
- Spinner durante il caricamento
- Astrarre le chiamate Ajax con Spinner
- Nuove pagine