mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-31 10:37:12 -04:00 
			
		
		
		
	fixed more like this
This commit is contained in:
		
							parent
							
								
									fb1e9fe66a
								
							
						
					
					
						commit
						1ed9c245f5
					
				| @ -2,6 +2,7 @@ import { Component, OnDestroy, OnInit, QueryList, ViewChild, ViewChildren } from | |||||||
| import { ActivatedRoute, Router } from '@angular/router'; | import { ActivatedRoute, Router } from '@angular/router'; | ||||||
| import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; | import { NgbModal } from '@ng-bootstrap/ng-bootstrap'; | ||||||
| import { Subscription } from 'rxjs'; | import { Subscription } from 'rxjs'; | ||||||
|  | import { FILTER_FULLTEXT_MORELIKE } from 'src/app/data/filter-rule-type'; | ||||||
| import { PaperlessDocument } from 'src/app/data/paperless-document'; | import { PaperlessDocument } from 'src/app/data/paperless-document'; | ||||||
| import { PaperlessSavedView } from 'src/app/data/paperless-saved-view'; | import { PaperlessSavedView } from 'src/app/data/paperless-saved-view'; | ||||||
| import { SortableDirective, SortEvent } from 'src/app/directives/sortable.directive'; | import { SortableDirective, SortEvent } from 'src/app/directives/sortable.directive'; | ||||||
| @ -208,10 +209,7 @@ export class DocumentListComponent implements OnInit, OnDestroy { | |||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   clickMoreLike(documentID: number) { |   clickMoreLike(documentID: number) { | ||||||
|     this.list.selectNone() |     this.list.quickFilter([{rule_type: FILTER_FULLTEXT_MORELIKE, value: documentID.toString()}]) | ||||||
|     setTimeout(() => { |  | ||||||
|       //this.filterEditor.moreLikeThis(doc)
 |  | ||||||
|     }) |  | ||||||
|   } |   } | ||||||
| 
 | 
 | ||||||
|   trackByDocumentId(index, item: PaperlessDocument) { |   trackByDocumentId(index, item: PaperlessDocument) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user