      // Handle pagination
            goToPage(page) {
                if (page < 1 || page > this.totalPages) return;
                this.submitSearch(page);
            },
            
            // Handle sorting
            changeSort(sortOption) {
                this.sortBy = sortOption;
                this.submitSearch(1);
            },
            
            // Function to toggle expand state of a row
            toggleExpand(recordId) {
                console.log('Toggle expand clicked for 