def ck_browse():
    """
        Controller to handle uploads to CKEditor
    """

    table = s3db.doc_ckeditor
    #browse_filter = {}
    set = db(0 > table.id)
    #for key, val in browse_filter.items():
    #    if value[0] == "<":
    #        set = set(table[key] < value[1:])
    #    elif value[0] == ">":
    #        set = set(table[key] > value[1:])
    #    elif value[0] == "!":
    #        set = set(table[key] != value[1:])
    #    else:
    #        set = set(table[key] == value)

    rows = set.select(orderby=table.title)

    return dict(rows=rows, cknum=request.vars.CKEditorFuncNum)

# -----------------------------------------------------------------------------
dataset/ETHPy150Open sahana/eden/controllers/doc.py/ck_browse/swapped operands of `>`