<%@language = "javascript" %>
<% /*
    $Revision$
    $Id$

    File:           user_tables.asp

    Description:    Ingang generiek tabellen te bekijken
    Context:        Vanuit het menu

    Notes:          Alleen voor FACFAC
*/
%>
<!-- #include file="../scf/scaffolding.inc" -->
<!-- #include file="../api2/model_user_tables.inc" -->

<%
    user.checkAutorisation("WEB_FACFAC");

    settings.overrule_setting("qp_maxrows", 500); // Toon alle tabellen direct

    scaffolding(new model_user_tables(), {
        "search": {
            "autosearch": false, // soms is het traag
            "filters": [
                "name"
            ]
        },
        "list": {
            "columns": ["id", "analyzed", "rows"]
        },
        "layout": {
            "miscellaneous": {
                "icon" : "fa-table"
            }
        }
    });
%>
<% ASPPAGE_END(); %>
