Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

Commit

Permalink
Minor fix for category doclib filter
Browse files Browse the repository at this point in the history
  • Loading branch information
AFaust committed May 1, 2014
1 parent d39ed1a commit 887d636
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ if (filterData.charAt(filterData.length - 1) == "/")
filterData = filterData.slice(0, -1);
}

query = '+PATH:"/cm:generalclassifiable/cm:' + search.ISO9075Encode(filterData) + '/member"';
query = '+PATH:"/cm:generalclassifiable/' + iso9075EncodePath(filterData) + '/member"';
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ if (filterData.charAt(filterData.length - 1) == "/")
filterData = filterData.slice(0, -1);
}

query = filterQuery + ' +PATH:"/cm:generalclassifiable/cm:' + search.ISO9075Encode(filterData) + '/member"';
query = filterQuery + ' +PATH:"/cm:generalclassifiable' + iso9075EncodePath(filterData) + '/member"';
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,11 @@ var Filters =
filterQueryDefaults : filterQueryDefaults,
parsedArgs : parsedArgs,
filter : filter,
filterData : filterData,
args : args,
person : person,
constructPathQuery : this.constructPathQuery,
iso9075EncodePath : this.iso9075EncodePath,
favourites : favourites,
/*
* result properties
Expand Down

0 comments on commit 887d636

Please sign in to comment.