Project

General

Profile

« Previous | Next » 

Revision 45426

on the way to backwards comatibility. browse is now compatible?\027[C

View differences:

APIResponseFormatter.java
72 72
                return String.format(CSVResponseFormat.response, "", formatSearchResults("text/csv", searchResult.getSearchResults()));
73 73
            }
74 74
            return String.format(CSVResponseFormat.response, CSVResponseFormat.appendTitle(entityType), formatSearchResults(type, searchResult.getSearchResults()));
75

  
76
        } else if (type.equals(MediaType.TEXT_HTML)) {
77
            return String.format(HTMLResponseFormat.response, formatSearchResults(type, searchResult.getSearchResults()), formatRefineResults(type, searchResult.getBrowseResults()));
75 78
        }
76 79

  
77 80
        //default xml

Also available in: Unified diff