Revision 54130
Added by Sandro La Bruzzo over 5 years ago
modules/dnet-modular-mdstore-ui/trunk/src/main/java/eu/dnetlib/functionality/modular/ui/mdstore/MDStoreServiceInternalController.java | ||
---|---|---|
147 | 147 |
} |
148 | 148 |
queryParam.remove("mdId"); |
149 | 149 |
|
150 |
final ClassPathResource cpr = new ClassPathResource(recordXsltClasspath); |
|
151 |
final ApplyXslt xslt = new ApplyXslt(cpr); |
|
152 |
|
|
153 | 150 |
final MDStoreResult res = new MDStoreResult(); |
154 |
res.setResult(Lists.transform(mdStoreService.getMDStoreRecords(mdId, 10, offset, queryParam), new Function<String, String>() { |
|
155 |
@Override |
|
156 |
public String apply(String it) { |
|
157 |
return xslt.evaluate(it); |
|
158 |
} |
|
159 |
})); |
|
151 |
res.setResult(mdStoreService.getMDStoreRecords(mdId, 10, offset, queryParam)); |
|
160 | 152 |
|
161 | 153 |
|
162 | 154 |
//TERRIBLE HACK SHAME SANDRO SHAME! |
modules/dnet-modular-mdstore-ui/trunk/src/main/resources/eu/dnetlib/web/resources/html/mdstore/inspect.html | ||
---|---|---|
168 | 168 |
</div> |
169 | 169 |
<div class="row"> |
170 | 170 |
<div class="col-md-2 text-left"> |
171 |
results from {{from_page + 1 }} to {{to_page}}
|
|
171 |
results overrideFrom {{from_page + 1 }} to {{to_page}}
|
|
172 | 172 |
</div> |
173 | 173 |
<div class="col-md-9 text-center"> |
174 | 174 |
<ul class="pagination"> |
Also available in: Unified diff
fix search view problem