| 
      
            Lines 115-125
          export default {
      
      
        Link Here
      
     | 
  
        
          | 115 | 
                      this.$emit("close") | 
          115 | 
                      this.$emit("close") | 
        
        
          | 116 | 
                  },  | 
          116 | 
                  },  | 
        
        
          | 117 | 
                  filter_table: async function () { | 
          117 | 
                  filter_table: async function () { | 
        
          
            
              | 118 | 
                          let new_route = build_url(  | 
              118 | 
                          if (this.before_route_entered) { | 
            
            
              | 119 | 
                              "/cgi-bin/koha/erm/agreements",  | 
              119 | 
                              let new_route = build_url(  | 
            
            
              | 120 | 
                              this.filters  | 
              120 | 
                                  "/cgi-bin/koha/erm/agreements",  | 
            
            
              | 121 | 
                          )  | 
              121 | 
                                  this.filters  | 
            
            
              | 122 | 
                          this.$router.push(new_route)  | 
              122 | 
                              )  | 
            
            
               | 
               | 
              123 | 
                              this.$router.push(new_route)  | 
            
            
              | 124 | 
                          }  | 
            
        
          | 123 | 
                      if (this.filters.by_expired) { | 
          125 | 
                      if (this.filters.by_expired) { | 
        
        
          | 124 | 
                          if (!this.filters.max_expiration_date)  | 
          126 | 
                          if (!this.filters.max_expiration_date)  | 
        
        
          | 125 | 
                              this.filters.max_expiration_date = new Date()  | 
          127 | 
                              this.filters.max_expiration_date = new Date()  | 
        
            
              | 126 | 
              -   | 
               | 
               |