mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Rename path array from hash to path in hash generation
https://fedorahosted.org/freeipa/ticket/3236
This commit is contained in:
parent
9657c757f6
commit
34201ea0ab
@ -251,11 +251,11 @@ define(['dojo/_base/declare',
|
||||
delete state.pkeys;
|
||||
var args = ioquery.objectToQuery(state || {});
|
||||
|
||||
var hash = [this.route_prefix, 'e', entity_name, facet.name];
|
||||
if (!IPA.is_empty(args)) hash.push(pkeys, args);
|
||||
else if (!IPA.is_empty(pkeys)) hash.push(pkeys);
|
||||
var path = [this.route_prefix, 'e', entity_name, facet.name];
|
||||
if (!IPA.is_empty(args)) path.push(pkeys, args);
|
||||
else if (!IPA.is_empty(pkeys)) path.push(pkeys);
|
||||
|
||||
hash = hash.join('/');
|
||||
var hash = path.join('/');
|
||||
return hash;
|
||||
},
|
||||
|
||||
@ -264,10 +264,10 @@ define(['dojo/_base/declare',
|
||||
*/
|
||||
_create_facet_hash: function(facet, state) {
|
||||
var args = ioquery.objectToQuery(state.args || {});
|
||||
var hash = [this.route_prefix, 'p', facet.name];
|
||||
var path = [this.route_prefix, 'p', facet.name];
|
||||
|
||||
if (!IPA.is_empty(args)) hash.push(args);
|
||||
hash = hash.join('/');
|
||||
if (!IPA.is_empty(args)) path.push(args);
|
||||
var hash = path.join('/');
|
||||
return hash;
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user