mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 04:12:45 +00:00 
			
		
		
		
	Admin page Corpus List fix
This commit is contained in:
		@@ -52,10 +52,12 @@ def users():
 | 
			
		||||
@register_breadcrumb(bp, '.users.entity', '', dynamic_list_constructor=user_dlc)
 | 
			
		||||
def user(user_id):
 | 
			
		||||
    user = User.query.get_or_404(user_id)
 | 
			
		||||
    corpora = Corpus.query.filter(Corpus.user == user).all()
 | 
			
		||||
    return render_template(
 | 
			
		||||
        'admin/user.html.j2',
 | 
			
		||||
        title=user.username,
 | 
			
		||||
        user=user
 | 
			
		||||
        user=user,
 | 
			
		||||
        corpora=corpora
 | 
			
		||||
    )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user