Ignore:
Timestamp:
04/28/12 22:48:55 (12 years ago)
Author:
gaba
Message:

autocomplete - explain.xml

File:
1 edited

Legend:

Unmodified
Added
Removed
  • MDService2/branches/MDService_simple3/src/eu/clarin/cmdi/mdservice/model/Query.java

    r1907 r1918  
    7979                sarr = new String[1];
    8080                sarr[0] = "1";
    81                 put("maxdepth", sarr);
     81                put("x_maximumDepth", sarr);
    8282               
    8383        }};
     
    410410                if (type.equals(MODEL)) {
    411411                        //targetRequest = fromCMDIndex2Xpath() + "&maxdepth=" + getMaxdepth()  ; /* + "&maxdepth=" + getMaxdepth() );  "&collection=" + getCollection() + */
    412                         targetRequest = fromCMDIndex2Xpath() + "&maxdepth=" + getParam("maxdepth")  ; /* + "&maxdepth=" + getMaxdepth() );  "&collection=" + getCollection() + */
     412                        targetRequest = fromCMDIndex2Xpath() + "&maxdepth=" + getParam("x-maximumDepth")  ; /* + "&maxdepth=" + getMaxdepth() );  "&collection=" + getCollection() + */
    413413                }
    414414                else if (type.equals(COLLECTION)) {
    415                         targetRequest = getParam("collection") + "&maxdepth=" + getParam("maxdepth")  ; /* + "&maxdepth=" + getMaxdepth() );  "&collection=" + getCollection() + */
     415                        targetRequest = getParam("collection") + "&maxdepth=" + getParam("x-maximumDepth")  ; /* + "&maxdepth=" + getMaxdepth() );  "&collection=" + getCollection() + */
    416416
    417417                } else if (type.equals(SRUEXTERN)) {
Note: See TracChangeset for help on using the changeset viewer.