Revision 54130
Added by Sandro La Bruzzo over 5 years ago
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! |
Also available in: Unified diff
fix search view problem