remove a print statement
This commit is contained in:
parent
242f66dc53
commit
018eb899f2
1 changed files with 0 additions and 19 deletions
|
@ -701,25 +701,6 @@ pandora.getMetadataByIdOrName = function(item, view, str, callback) {
|
||||||
});
|
});
|
||||||
function getId(type, callback) {
|
function getId(type, callback) {
|
||||||
if (type) {
|
if (type) {
|
||||||
Ox.print('getId',
|
|
||||||
Ox.extend({
|
|
||||||
query: {
|
|
||||||
conditions: [{
|
|
||||||
key: isName ? 'name' : 'id',
|
|
||||||
value: type != 'annotation' ? str : item + '/' + str,
|
|
||||||
operator: '=='
|
|
||||||
}],
|
|
||||||
operator: '&'
|
|
||||||
},
|
|
||||||
keys: type != 'annotation' ? ['id'] : ['id', 'in', 'out'],
|
|
||||||
range: [0, 1]
|
|
||||||
}, item && type != 'annotation' ? {
|
|
||||||
itemQuery: {
|
|
||||||
conditions: [{key: 'id', value: item, operator: '=='}],
|
|
||||||
operator: '&'
|
|
||||||
}
|
|
||||||
} : {})
|
|
||||||
);
|
|
||||||
pandora.api['find' + Ox.toTitleCase(type + 's')](Ox.extend({
|
pandora.api['find' + Ox.toTitleCase(type + 's')](Ox.extend({
|
||||||
query: {
|
query: {
|
||||||
conditions: [{
|
conditions: [{
|
||||||
|
|
Loading…
Reference in a new issue